LkEngine 0.1.2
 
Loading...
Searching...
No Matches
LkEngine::LRigidBody2DComponent Struct Reference

Public Types

enum class  Type { None = -1 , Static , Dynamic , Kinematic }
 

Public Member Functions

 LRigidBody2DComponent (Type type)
 
 LRigidBody2DComponent (const LRigidBody2DComponent &Other)=default
 

Public Attributes

Type BodyType
 
bool FixedRotation = false
 
float Mass = 1.0f
 
float LinearDrag = 0.01f
 
float AngularDrag = 0.05f
 
float GravityScale = 1.0f
 
bool IsBullet = false
 
void * RuntimeBody = nullptr
 

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