Foundation
Loading...
Searching...
No Matches
Public Attributes | List of all members
Foundation::Examples::PhysicsBodyDesc Struct Reference

#include <JoltPhysicsWorld.hpp>

Public Attributes

PhysicsShapeHandle shape {}
 
PhysicsBodyPose pose {}
 
PhysicsMotionType motion {PhysicsMotionType::Dynamic}
 
uint32_t layer {kPhysicsLayerMoving}
 
PhysicsActivation activation {PhysicsActivation::Activate}
 
float3 linearVelocity {0.0f, 0.0f, 0.0f}
 
float3 angularVelocity {0.0f, 0.0f, 0.0f}
 

Member Data Documentation

◆ activation

PhysicsActivation Foundation::Examples::PhysicsBodyDesc::activation {PhysicsActivation::Activate}

◆ angularVelocity

float3 Foundation::Examples::PhysicsBodyDesc::angularVelocity {0.0f, 0.0f, 0.0f}

◆ layer

uint32_t Foundation::Examples::PhysicsBodyDesc::layer {kPhysicsLayerMoving}

◆ linearVelocity

float3 Foundation::Examples::PhysicsBodyDesc::linearVelocity {0.0f, 0.0f, 0.0f}

◆ motion

PhysicsMotionType Foundation::Examples::PhysicsBodyDesc::motion {PhysicsMotionType::Dynamic}

◆ pose

PhysicsBodyPose Foundation::Examples::PhysicsBodyDesc::pose {}

◆ shape

PhysicsShapeHandle Foundation::Examples::PhysicsBodyDesc::shape {}

The documentation for this struct was generated from the following file: