MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / DynamicsSystem

Method DynamicsSystem

src/systems/DynamicsSystem.cpp:34–39  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

32
33// Constructor
34DynamicsSystem::DynamicsSystem(PhysicsWorld& world, BodyComponents& bodyComponents, RigidBodyComponents& rigidBodyComponents,
35 TransformComponents& transformComponents, ColliderComponents& colliderComponents, bool& isGravityEnabled, Vector3& gravity)
36 :mWorld(world), mBodyComponents(bodyComponents), mRigidBodyComponents(rigidBodyComponents), mTransformComponents(transformComponents), mColliderComponents(colliderComponents),
37 mIsGravityEnabled(isGravityEnabled), mGravity(gravity) {
38
39}
40
41// Integrate position and orientation of the rigid bodies.
42/// The positions and orientations of the bodies are integrated using

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected