|
| | __ImplementClass (PhysicsFeature::CharacterManager, 'ChMa', Game::Manager) |
| void | MoveCharacters (Game::World *world, Game::Position &position, Game::Velocity &velocity, Character &character) |
| | __ImplementClass (PhysicsFeature::PhysicsManager, 'PhMa', Game::Manager) |
| | __ImplementSingleton (PhysicsManager) PhysicsManager |
| static Game::Entity | ResolveBodyEntity (Game::World *world, Game::Entity entity) |
| | Resolves which entity owns the physx actor a collider belongs to.
|
| static Physics::ActorId | GetValidateActorId (Game::Entity entity, PhysicsFeature::PhysicsActor const &actor) |
| | Checks if the actorid is valid, and if the actor points to the correct entity, and returns a valid or invalid actor id based on the check.
|
| static Physics::ActorId | ResolveActorHandle (Game::World *world, Game::Entity entity) |
| | get the physx actor of the entity
|
| static bool | ActorIsDynamic (Physics::ActorId id) |
| | True if the actor is a rigid body, which covers both the kinematic and the dynamic actor type.
|
| static Physics::ColliderType | ShapeColliderType (physx::PxShape const *pxShape) |
| | Converts from pxshape to our internal collider type enum.
|
| static bool | HasColliderOfType (Game::World *world, Game::Entity entity, int colliderClass) |
| | True if the entity still has the collider component matching a physx shape of this type.
|
| static bool | ShapeBelongsTo (Physics::ShapeId id, Game::Entity entity) |
| | True when a shape name held by a handle still names the shape its entity built.
|
| static Physics::ShapeId | FindShapeForEntity (Physics::ActorId actorId, Game::Entity entity) |
| static Util::FixedArray< Game::ComponentId > const & | ColliderComponents () |
| | The collider components.
|
| static bool | HasOtherCollider (Game::World *world, Game::Entity entity, Game::ComponentId component) |
| | True when the entity has a collider component other than this one.
|
| static void | ClearShapeField (Game::World *world, Game::Entity entity) |
| static void | GarbageCollectShapes (Game::World *world, Game::Entity bodyEntity, Physics::ActorId actorId) |
| | Releases the shapes of an actor whose collider component is gone, or whose collider entity has been moved to another body.
|
| static void | MarkOwnedShapes (Game::World *world, Physics::ActorId actorId) |
| | Queues the entities whose shapes hang off an actor which is about to be released, so that their shapes get built again on whichever actor they end up on.
|
| static void | BuildActorFromPhysicsResource (Game::World *world, Game::Entity entity, PhysicsFeature::PhysicsActor &self) |
| static void | BuildRigidbody (Game::World *world, Game::Entity entity, PhysicsFeature::PhysicsActor &actor) |
| static void | BuildStaticBody (Game::World *world, Game::Entity entity, PhysicsFeature::PhysicsActor &actor) |
| static bool | BuildCollider (Game::World *world, Game::Entity entity, PhysicsFeature::PhysicsActor &actor, Physics::ColliderDescription &desc) |
| static bool | BuildBoxCollider (Game::World *world, Game::Entity entity, PhysicsFeature::PhysicsActor &actor) |
| static bool | BuildSphereCollider (Game::World *world, Game::Entity entity, PhysicsFeature::PhysicsActor &actor) |
| static bool | BuildCapsuleCollider (Game::World *world, Game::Entity entity, PhysicsFeature::PhysicsActor &actor) |
| static bool | BuildPlaneCollider (Game::World *world, Game::Entity entity, PhysicsFeature::PhysicsActor &actor) |
| static bool | BuildMeshCollider (Game::World *world, Game::Entity entity, PhysicsFeature::PhysicsActor &actor) |
| static bool | BuildHeightFieldCollider (Game::World *world, Game::Entity entity, PhysicsFeature::PhysicsActor &actor) |
| static void | PushActorPose (Game::World *world, Game::Entity entity, Physics::ActorId actorId) |
| | Pushes the transform of the entity onto its actor.
|
| static bool | RebuildPhysicsEntity (Game::World *world, Game::Entity entity, PhysicsFeature::PhysicsActor &actor, uint32_t const pending) |
| | Creates, updates and releases physx actors and shapes for one entity, according to what is queued for it.
|
| static void | EnsureHandle (Game::World *world, Game::Entity entity) |
| void | PollPhysicsResourceTransforms (Game::World *world, Game::Entity entity, Game::Position &position, Game::Orientation &orientation, PhysicsFeature::PhysicsResource const &, PhysicsFeature::PhysicsActor const &handle) |
| void | PassKinematicTransforms (Game::World *world, Game::Entity entity, Game::Position const &position, Game::Orientation const &orientation, PhysicsFeature::PhysicsResource const &, PhysicsFeature::IsKinematic, PhysicsFeature::PhysicsActor const &handle) |
| void | PollRigidbodyTransform (Game::World *world, Game::Entity entity, PhysicsFeature::Rigidbody const &body, Game::Position &position, Game::Orientation &orientation, PhysicsFeature::PhysicsActor const &handle) |
| void | WriteKinematicRigidbody (Game::World *world, Game::Entity entity, PhysicsFeature::Rigidbody const &body, Game::Position const &position, Game::Orientation const &orientation, PhysicsFeature::PhysicsActor const &handle) |
| | __ImplementClass (PhysicsFeature::PhysicsFeatureUnit, 'PXFU', Game::FeatureUnit) |
| | __ImplementSingleton (PhysicsFeatureUnit) |