PlayerNode

From Crumbled World Wiki
Revision as of 13:03, 5 July 2025 by Anders (talk | contribs) (Created page with "{{:PlayerNodeExampleCode}} ==Inheritance== SceneNode ==Static functions== {| class="wikitable" !|return !|function !|description |- |PlayerNode |new() |Create a new Instance of the the PlayerNode |- |} ==Functions== {| class="wikitable" !|return !|function !|description |- |int |getClientId() |Return the clientId who own this playerNode, on shared maps and single player this returns 0 as the clientId. when no o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

PlayerNodeExampleCode

Inheritance

SceneNode

Static functions

return function description
PlayerNode new() Create a new Instance of the the PlayerNode

Functions

return function description
int getClientId() Return the clientId who own this playerNode, on shared maps and single player this returns 0 as the clientId. when no one own the PlayerNode -1 is returned.
Box getBoundingBox() Return Global bounding box for the islands world mesh.
PhysicNode getPhysicNode() Return the PhysicNode for this player