PixelBullet  0.0.1
A C++ game engine
Loading...
Searching...
No Matches
pixelbullet::PhysicsWorld Class Reference

Public Member Functions

 PhysicsWorld (const PhysicsWorld &)=delete
PhysicsWorld & operator= (const PhysicsWorld &)=delete
void Clear ()
PhysicsBodyHandle CreateBody (const PhysicsBodyCreateInfo &create_info)
void DestroyBody (PhysicsBodyHandle handle)
bool IsBodyValid (PhysicsBodyHandle handle) const
void SetBodyPose (PhysicsBodyHandle handle, const PhysicsBodyPose &pose, bool activate=true)
void MoveKinematicBody (PhysicsBodyHandle handle, const PhysicsBodyPose &pose, float delta_seconds)
std::optional< PhysicsBodyPoseGetBodyPose (PhysicsBodyHandle handle) const
std::optional< PhysicsSweepHitSweepCapsule (const PhysicsBodyPose &pose, float capsule_radius, float capsule_half_height, glm::vec3 translation, PhysicsBodyHandle ignore_body={}, PhysicsBodyHandle extra_ignore_body={}) const
std::optional< PhysicsRayHitCastRay (glm::vec3 origin, glm::vec3 translation, PhysicsBodyHandle ignore_body={}, PhysicsBodyHandle extra_ignore_body={}) const
std::optional< PhysicsSweepHitProbeCapsuleDown (const PhysicsBodyPose &pose, float capsule_radius, float capsule_half_height, float probe_distance, PhysicsBodyHandle ignore_body={}) const
std::vector< PhysicsTriggerEventConsumeTriggerEvents ()
void Step (float delta_seconds)

The documentation for this class was generated from the following files: