In biology, an organism is any individual entity that exhibits the properties of life. It is a synonym for "life form". - Wikipedia
StageNodes support pluggable controllers called
Behaviours. Behaviours allow you to build modular logical components and then attach them to an
Actor for example). This essentially gives the
Organism a life of its own.
Simulant comes with a number of built-in
Behaviours and more and more of these will be added over time. Some of the built-in behaviours are:
HoverShip- Makes the
Organismhover above the ground and respond to controls.
Airplane- Very basic flight-sim style controller.
SmoothFollow- Primarily designed for
Camerasthis makes the
Organismfollow a target.
You can explore the full list of behaviours in the
simulant/behaviours directory and subdirectories.
Simulant's rigid body simulation is implemented entirely using
Behaviours. The key
Behaviours to examine are:
RigidBody- a dynamic physics object
StaticBody- a static physics object
KinematicBody- a kinematic physics object
RaycastVehicle- a work-in-progress
Behaviourfor non-realistic car physics
All of these
Behaviours require a
RigidBodySimulation instance to function. The easiest way to get access to one of these is to make use of the
PhysicsScene class when constructing your game scene.