载入中...
搜索中...
未找到
Shape3D.h
浏览该文件的文档.
3D rigid body (Box3D) in meter-space coordinates (+Y up by convention). Owned by a World3D; create sh...
Definition Body3D.h:16
3D shape (box/sphere/capsule) attached to a Body3D with material settings. Created via Body3D::new*Sh...
Definition Shape3D.h:14
bool testPoint(float x, float y, float z) const
Point-in-shape test in world meters.
Definition Shape3D.cpp:133
@ Capsule
void setRestitution(float restitution)
Definition Shape3D.cpp:117
Shape3D & operator=(const Shape3D &)=delete
Shape3D(const Shape3D &)=delete
void setSensor(bool sensor)
Sensor shapes report contacts but never collide.
Definition Shape3D.cpp:102
Box3D rigid-body world. Script coordinates are meters (Box3D native), unlike 2D World which uses pixe...
Definition World3D.h:18
Definition Body.cpp:11