engine
 
载入中...
搜索中...
未找到
ImmediatePhysicsDeclares.h 文件参考

Move either ImmediatePhysics_PhysX or ImmediatePhysics_Chaos Immediate Physics into the ImmediatePhysics namespace 更多...

#include "Physics/ImmediatePhysics/ImmediatePhysicsPhysX/ImmediatePhysicsDeclares_PhysX.h"
#include "Physics/ImmediatePhysics/ImmediatePhysicsChaos/ImmediatePhysicsDeclares_Chaos.h"
#include "Physics/ImmediatePhysics/ImmediatePhysicsShared/ImmediatePhysicsCore.h"

详细描述

Move either ImmediatePhysics_PhysX or ImmediatePhysics_Chaos Immediate Physics into the ImmediatePhysics namespace

We can use PhysX ImmediatePhysics only if PhysX is also providing the global physics interface. because ImmediatePhysics_PhysX relies on physx types being instantiated by BodyInstance, ConstraintInstance, etc.

You can currently run PhysX and Chaos ImmediatePhysics simulations in the same build if PhysX is providing the global physics interface. This capability will likely disappear once Chaos is established at which point you will only be able to use Chaos immediate physics if you are also using Chaos for global physics.