Assembly: Sandbox.Game.dll

public class MyPhysics: MySessionComponentBase, IMyUserInputComponent

Fields

Member Description
static Clusters
static DebugDrawClustersEnable
static DebugDrawClustersMatrix
static SyncVDBCamera
static ThreadId
static WorkPriority
StopEnable
ComponentType Inherited from MySessionComponentBase
DebugName Inherited from MySessionComponentBase
Priority Inherited from MySessionComponentBase

Properties

Member Description
static InsideSimulation
static QueuedForces
static RaycastLock
static RestingVelocity
static SimulationRatio Simulation ratio, when physics cannot keep up, this is smaller than 1
static SingleWorld
static StepsLastSecond Number of physics steps done in last second
Definition Inherited from MySessionComponentBase
Dependencies Inherited from MySessionComponentBase
Initialized Inherited from MySessionComponentBase
IsRequiredByGame Indicates whether a session component should be used in current configuration. Example: MyDestructionData component returns true only when game uses Havok Destruction

Inherited from MySessionComponentBase
IsServerOnly Is server only is used for client request of the world. if the component is server only, it's not sent to the client on world request.

Inherited from MySessionComponentBase
Loaded Inherited from MySessionComponentBase
ModContext Inherited from MySessionComponentBase
ObjectBuilderType Inherited from MySessionComponentBase
Session Inherited from MySessionComponentBase
UpdateOnPause Inherited from MySessionComponentBase
UpdateOrder Inherited from MySessionComponentBase

Constructors

Member Description
MyPhysics()
MySessionComponentBase() Inherited from MySessionComponentBase

Methods

Member Description
static ActivateInBox(ref BoundingBoxD)
static AssertThread()
static CastChainedRaycastsParallel(int, Func<int, bool>, Action, int, Func)
static CastLongRay(Vector3D, Vector3D, bool) Finds closest or any object on the path of the ray from->to. Uses Storage for voxels for faster search but only good for long rays (more or less more than 50m). Use it only in such cases.
static CastRay(Vector3D, Vector3D, List, int)
static CastRay(Vector3D, Vector3D, int)
static CastRay(Vector3D, Vector3D, out HitInfo, uint, bool)
static CastRay_AllHits(Vector3D, Vector3D)
static CastRayParallel(ref Vector3D, ref Vector3D, int, Action<HitInfo?>)
static CastRayParallel(ref Vector3D, ref Vector3D, List, int, Action<List>)
static CastRayWorld(MyClusterQueryResult, Vector3D, Vector3D, List, int)
static CastShape(Vector3D, HkShape, ref MatrixD, int, float)
static CastShapeInAllWorlds(Vector3D, HkShape, ref MatrixD, int, float)
static CastShapeReturnContact(Vector3D, HkShape, ref MatrixD, int, float, out Vector3D)
static CastShapeReturnContactBodyData(Vector3D, HkShape, ref MatrixD, uint, float, bool)
static CastShapeReturnContactBodyDatas(Vector3D, HkShape, ref MatrixD, uint, float, List, bool)
static CastShapeReturnContactData(Vector3D, HkShape, ref MatrixD, uint, float, bool)
static CastShapeReturnPoint(Vector3D, HkShape, ref MatrixD, int, float)
static CheckThread()
static CommitSchedulingSettingToServer()
static ControlVDBRecording(string)
static CreateHkWorld(float)
static DebugDrawClusters()
static DeserializeClusters(List)
static EnsurePhysicsSpace(BoundingBoxD) Ensure aabb is inside only one subspace. If no, reorder.
static GetAll(List)
static GetClusterList()
static GetCollisionLayer(string)
static GetHkWorld(ref Vector3D)
static GetObjectOffset(ulong) Return offset of objects subspace center.
static GetPenetrationsBox(ref Vector3, ref Vector3D, ref Quaternion, List, int)
static GetPenetrationsBoxParallel(ref Vector3, ref Vector3D, ref Quaternion, List, int, Action<List>)
static GetPenetrationsShape(HkShape, ref Vector3D, ref Quaternion, List, int)
static GetPenetrationsShape(HkShape, ref Vector3D, ref Quaternion, HashSet, int)
static GetPenetrationsShapeParallel(HkShape, ref Vector3D, ref Quaternion, HashSet, int, Action<HashSet>)
static GetPenetrationsShapeShape(HkShape, ref Vector3, ref Quaternion, HkShape, ref Vector3, ref Quaternion)
static GetPenetrationsShapeShape(HkShape, ref Vector3, ref Quaternion, HkShape, ref Vector3, ref Quaternion, List)
static IsPenetratingShapeShape(HkShape, ref Vector3D, ref Quaternion, HkShape, ref Vector3D, ref Quaternion)
static IsPenetratingShapeShape(HkShape, ref Matrix, HkShape, ref Matrix)
static IsPenetratingShapeShapeInsideOfHavok(HkShape, ref Vector3D, ref Quaternion, HkShape, ref Vector3D, ref Quaternion)
static MoveObject(ulong, BoundingBoxD, Vector3) Change position of object in world. Move object between subspaces if necessary.
static ProfileHkCall(Action)
static RefreshCollisionFilter(MyPhysicsBody)
static RemoveObject(ulong) Remove object from world, remove also subspace if empty.
static Schedule(Action, string)
static SerializeClusters(List)
static SetScheduling(bool, bool)
static TryAddEntity(IMyEntity, MyPhysicsBody, bool) Attempts to add the entity to the cluster Creates new cluster if allowed (!SingleCluster.HasValue) and needed (entity is outside of existing clusters). If not allowed, marks entity as left the world.
GetEntityReplicableExistsById(long)
InformReplicationEnded(MyEntity)
InformReplicationStarted(MyEntity)
LoadData()
Simulate()
AfterLoadData() Inherited from MySessionComponentBase
BeforeStart() Inherited from MySessionComponentBase
Draw() Inherited from MySessionComponentBase
GetObjectBuilder() Inherited from MySessionComponentBase
HandleInput() Inherited from IMyUserInputComponent
HandleInput() Inherited from MySessionComponentBase
Init(MyObjectBuilder_SessionComponent) Inherited from MySessionComponentBase
InitFromDefinition(MySessionComponentDefinition) Inherited from MySessionComponentBase
LoadData() Inherited from MySessionComponentBase
SaveData() Inherited from MySessionComponentBase
SetUpdateOrder(MyUpdateOrder) Inherited from MySessionComponentBase
Simulate() Inherited from MySessionComponentBase
ToString() Inherited from MySessionComponentBase
UnloadDataConditional() Inherited from MySessionComponentBase
UpdateAfterSimulation() Inherited from MySessionComponentBase
UpdateBeforeSimulation() Inherited from MySessionComponentBase
UpdatedBeforeInit() Inherited from MySessionComponentBase
UpdatingStopped() Inherited from MySessionComponentBase

Inheritance: MySessionComponentBase

Implements: