4#include "Math/Matrix4.h"
11namespace XXSharpKmyPhysics
13 ref class PhysicsBase;
14 ref class PhysicsNotifyTarget;
16 private ref class PhysicsNode
19 void setRestitution(f32 val);
20 void setFriction(f32 val);
21 void setName(System::String^ name);
22 void setWorldMatrix(XXSharpKmyMath::Matrix4 mtx);
23 void setNotifyTarget(PhysicsNotifyTarget ^tgt);
24 void setFellowId(
int id);
25 void setFilterMask(
unsigned short m) {
if (obj)obj->setFilterMask(m); }
26 void setFilterGroup(
unsigned short m) {
if (obj)obj->setFilterGroup(m); }
27 void setIgnoreFromRaycast(
bool f) {
if (obj)obj->setIgnoreFromRaycast(f); }
28 void setCustomDebugColor(
float r,
float g,
float b) {
if (obj)obj->setCustomDebugColor(r, g, b); }
29 void setDebugVisibilityMask(u32 mask) {
if (obj)obj->setDebugVisibilityMask(mask); }
35 PhysicsNotifyTarget^ getNotifyTarget();
37 System::String^ getName();
38 XXSharpKmyMath::Matrix4 getWorldMatrix();
39 PhysicsBase^ getPhysicsBase();
41 kmyPhysics::PhysicsNode *obj =
nullptr;
Definition: PhysicsNode.h:7