Lines Matching refs:PhysicsWorld
62 PhysicsWorldConfig PhysicsWorld::config;
71 static_cast<PhysicsWorld*>(world->getWorldUserInfo())->PreStep(timeStep); in InternalPreTickCallback()
76 static_cast<PhysicsWorld*>(world->getWorldUserInfo())->PostStep(timeStep); in InternalTickCallback()
121 PhysicsWorld::PhysicsWorld(Context* context) : in PhysicsWorld() function in Urho3D::PhysicsWorld
138 if (PhysicsWorld::config.collisionConfig_) in PhysicsWorld()
139 collisionConfiguration_ = PhysicsWorld::config.collisionConfig_; in PhysicsWorld()
158 PhysicsWorld::~PhysicsWorld() in ~PhysicsWorld()
179 if (!PhysicsWorld::config.collisionConfig_) in ~PhysicsWorld()
184 void PhysicsWorld::RegisterObject(Context* context) in RegisterObject()
186 context->RegisterFactory<PhysicsWorld>(SUBSYSTEM_CATEGORY); in RegisterObject()
198 bool PhysicsWorld::isVisible(const btVector3& aabbMin, const btVector3& aabbMax) in isVisible()
206 void PhysicsWorld::drawLine(const btVector3& from, const btVector3& to, const btVector3& color) in drawLine()
212 void PhysicsWorld::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) in DrawDebugGeometry()
225 void PhysicsWorld::reportErrorWarning(const char* warningString) in reportErrorWarning()
230 void PhysicsWorld::drawContactPoint(const btVector3& pointOnB, const btVector3& normalOnB, btScalar… in drawContactPoint()
235 void PhysicsWorld::draw3dText(const btVector3& location, const char* textString) in draw3dText()
239 void PhysicsWorld::Update(float timeStep) in Update()
291 void PhysicsWorld::UpdateCollisions() in UpdateCollisions()
296 void PhysicsWorld::SetFps(int fps) in SetFps()
303 void PhysicsWorld::SetGravity(const Vector3& gravity) in SetGravity()
310 void PhysicsWorld::SetMaxSubSteps(int num) in SetMaxSubSteps()
316 void PhysicsWorld::SetNumIterations(int num) in SetNumIterations()
324 void PhysicsWorld::SetUpdateEnabled(bool enable) in SetUpdateEnabled()
329 void PhysicsWorld::SetInterpolation(bool enable) in SetInterpolation()
334 void PhysicsWorld::SetInternalEdge(bool enable) in SetInternalEdge()
341 void PhysicsWorld::SetSplitImpulse(bool enable) in SetSplitImpulse()
348 void PhysicsWorld::SetMaxNetworkAngularVelocity(float velocity) in SetMaxNetworkAngularVelocity()
355 void PhysicsWorld::Raycast(PODVector<PhysicsRaycastResult>& result, const Ray& ray, float maxDistan… in Raycast()
383 void PhysicsWorld::RaycastSingle(PhysicsRaycastResult& result, const Ray& ray, float maxDistance, u… in RaycastSingle()
415 void PhysicsWorld::RaycastSingleSegmented(PhysicsRaycastResult& result, const Ray& ray, float maxDi… in RaycastSingleSegmented()
462 void PhysicsWorld::SphereCast(PhysicsRaycastResult& result, const Ray& ray, float radius, float max… in SphereCast()
498 void PhysicsWorld::ConvexCast(PhysicsRaycastResult& result, CollisionShape* shape, const Vector3& s… in ConvexCast()
539 void PhysicsWorld::ConvexCast(PhysicsRaycastResult& result, btCollisionShape* shape, const Vector3&… in ConvexCast()
592 void PhysicsWorld::RemoveCachedGeometry(Model* model) in RemoveCachedGeometry()
610 void PhysicsWorld::GetRigidBodies(PODVector<RigidBody*>& result, const Sphere& sphere, unsigned col… in GetRigidBodies()
629 void PhysicsWorld::GetRigidBodies(PODVector<RigidBody*>& result, const BoundingBox& box, unsigned c… in GetRigidBodies()
647 void PhysicsWorld::GetRigidBodies(PODVector<RigidBody*>& result, const RigidBody* body) in GetRigidBodies()
670 void PhysicsWorld::GetCollidingBodies(PODVector<RigidBody*>& result, const RigidBody* body) in GetCollidingBodies()
692 Vector3 PhysicsWorld::GetGravity() const in GetGravity()
697 int PhysicsWorld::GetNumIterations() const in GetNumIterations()
702 bool PhysicsWorld::GetSplitImpulse() const in GetSplitImpulse()
707 void PhysicsWorld::AddRigidBody(RigidBody* body) in AddRigidBody()
712 void PhysicsWorld::RemoveRigidBody(RigidBody* body) in RemoveRigidBody()
719 void PhysicsWorld::AddCollisionShape(CollisionShape* shape) in AddCollisionShape()
724 void PhysicsWorld::RemoveCollisionShape(CollisionShape* shape) in RemoveCollisionShape()
729 void PhysicsWorld::AddConstraint(Constraint* constraint) in AddConstraint()
734 void PhysicsWorld::RemoveConstraint(Constraint* constraint) in RemoveConstraint()
739 void PhysicsWorld::AddDelayedWorldTransform(const DelayedWorldTransform& transform) in AddDelayedWorldTransform()
744 void PhysicsWorld::DrawDebugGeometry(bool depthTest) in DrawDebugGeometry()
750 void PhysicsWorld::SetDebugRenderer(DebugRenderer* debug) in SetDebugRenderer()
755 void PhysicsWorld::SetDebugDepthTest(bool enable) in SetDebugDepthTest()
760 void PhysicsWorld::CleanupGeometryCache() in CleanupGeometryCache()
779 void PhysicsWorld::OnSceneSet(Scene* scene) in OnSceneSet()
785 …SubscribeToEvent(scene_, E_SCENESUBSYSTEMUPDATE, URHO3D_HANDLER(PhysicsWorld, HandleSceneSubsystem… in OnSceneSet()
791 void PhysicsWorld::HandleSceneSubsystemUpdate(StringHash eventType, VariantMap& eventData) in HandleSceneSubsystemUpdate()
800 void PhysicsWorld::PreStep(float timeStep) in PreStep()
818 void PhysicsWorld::PostStep(float timeStep) in PostStep()
837 void PhysicsWorld::SendCollisionEvents() in SendCollisionEvents()
1088 PhysicsWorld::RegisterObject(context); in RegisterPhysicsLibrary()