PhysicNode: Difference between revisions

From Crumbled World Wiki
(Created page with "{{:PhysicNodeExampleCode}} ==Inheritance== SceneNode ==Functions== {| class="wikitable" !|return !|function !|description |- | |addRigidBody(Mesh mesh, Vec3 velocity, Vec3 Rotation, float rotationSpeed, float timeToLive) |Add a Mesh to be handled by the Very Basic Physic |- |}")
 
 
Line 11: Line 11:
|-
|-
|
|
|[[PhysicNode:addRigidBody(Mesh mesh, Vec3 velocity, Vec3 Rotation, float rotationSpeed, float timeToLive)|addRigidBody]]([[Mesh]] mesh, [[Vec3]] velocity, [[Vec3]] Rotation, float rotationSpeed, float timeToLive)
|[[PhysicNode:addRigidBodyRotationLimit(SceneNode node, Vec3 velocity, Vec3 Rotation, float rotationSpeed, float rotateLimit, float timeToLive)|addRigidBodyRotationLimit]]([[SceneNode ]] node, [[Vec3]] velocity, [[Vec3]] Rotation, float rotationSpeed, float rotateLimit, float timeToLive)
|Add a Mesh to be handled by the Very Basic Physic
|Add a [[SceneNode]] to be handled by the Very Basic Physic
|-
|
|[[PhysicNode:addRigidBody(SceneNode mesh, Vec3 velocity, Vec3 Rotation, float rotationSpeed, float timeToLive)|addRigidBody]]([[SceneNode]] mesh, [[Vec3]] velocity, [[Vec3]] Rotation, float rotationSpeed, float timeToLive)
|Add a SceneNode to be handled by the Very Basic Physic
|-
|-
|}
|}

Latest revision as of 13:40, 3 August 2025

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