Pointer to a entity instance of type Physics.GranularBody.
void AGXCORE_EXPORT transform(void *target, const Format *targetFormat, const void *source, const Format *sourceFormat, size_t numElements)
Transform data between two buffers.
The rigid body class, combining a geometric model and a frame of reference.
Physics::ParticlePtr createParticle()
Create a new particle in the particle system.
A basic particle system that contains all the storages and buffers required for basic operation and a...
AGXPHYSICS_EXPORT void setMotionControl(agx::RigidBodyPtrVector &bodies, agx::RigidBody::MotionControl motionControl)
Utility function to set motion control for a vector of rigid bodies.
const agx::Physics::GranularBodyPtrArray getParticles() const
MotionControl
The MotionControl enumeration indicates what makes a GranularBody in the GranularBodySystem move.
Physics::GranularBodyPtr createParticle()
Create a new particle in the particle system.
agxData::EntityStorage * getParticleStorage()