3#include "PhysicsNode.h"
4#include "Math/Vector3.h"
6namespace XXSharpKmyPhysics
8 private ref class RigidBody :
public PhysicsNode
11 RigidBody(kmyPhysics::RigidBody* p);
13 void activate(
bool flg);
15 XXSharpKmyMath::Vector3 getLinearVelocity();
16 void setLinearVelocity(XXSharpKmyMath::Vector3 v);
17 void setLinearVelocity(XXSharpKmyMath::Vector3 v, XXSharpKmyMath::Vector3 mask);
18 void setLinearFactor(XXSharpKmyMath::Vector3 v);
19 void setToUseCcd(
float radius);
20 void setPositionDamping(
float d);
21 void setAngularVelocity(XXSharpKmyMath::Vector3 v);
22 void setAngularFactor(XXSharpKmyMath::Vector3 v);
23 void setAngularDamping(
float d);
24 void applyForce(XXSharpKmyMath::Vector3 v, XXSharpKmyMath::Vector3 pos);
25 void applyTorque(XXSharpKmyMath::Vector3 v);
26 void applyImpulse(XXSharpKmyMath::Vector3 v, XXSharpKmyMath::Vector3 pos);
27 void applyCentralForce(XXSharpKmyMath::Vector3 v);
28 void applyCentralImpulse(XXSharpKmyMath::Vector3 v);
30 void setGravity(XXSharpKmyMath::Vector3 g);
31 void setMass(f32 mass, XXSharpKmyMath::Vector3 inertia);
33 void disableDeactivate();