Struct PhysicsWorldData
Structure containing PhysicsWorld and other data and queries that are necessary for simulating a physics world.
Syntax
public struct PhysicsWorldData : IDisposable
Constructors
PhysicsWorldData(EntityManager, in PhysicsWorldIndex)
Declaration
public PhysicsWorldData(EntityManager EntityManager, in PhysicsWorldIndex worldIndex)
Parameters
Fields
DynamicEntityGroup
Declaration
public EntityQuery DynamicEntityGroup
Field Value
HaveStaticBodiesChanged
Declaration
public NativeArray<int> HaveStaticBodiesChanged
Field Value
JointEntityGroup
Declaration
public EntityQuery JointEntityGroup
Field Value
PhysicsWorld
Declaration
public PhysicsWorld PhysicsWorld
Field Value
StaticEntityGroup
Declaration
public EntityQuery StaticEntityGroup
Field Value
Methods
Dispose()
Declaration