PhysicNode

From Crumbled World Wiki
Revision as of 13:40, 3 August 2025 by Anders (talk | contribs) (→‎Functions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

PhysicNodeExampleCode

Inheritance

SceneNode

Functions

return function description
addRigidBodyRotationLimit(SceneNode node, Vec3 velocity, Vec3 Rotation, float rotationSpeed, float rotateLimit, float timeToLive) Add a SceneNode to be handled by the Very Basic Physic
addRigidBody(SceneNode mesh, Vec3 velocity, Vec3 Rotation, float rotationSpeed, float timeToLive) Add a SceneNode to be handled by the Very Basic Physic