Gets the collision matrix that used for initialization only.
Gets the wrappered object of the physical world through which you can access the actual underlying object.
Gets the raycastClosest test result.
Gets the raycast test results.
Gets the ID of the system.
Turn on or off the automatic simulation.
Turn on or off the automatic simulation.
Gets the global default physical material.
Gets or sets whether the physical system is enabled, which can be used to pause or continue running the physical system.
Gets or sets whether the physical system is enabled, which can be used to pause or continue running the physical system.
Gets or sets the fixed delta time consumed by each simulation step.
Gets or sets the fixed delta time consumed by each simulation step.
Gets or sets the maximum number of simulated substeps per frame.
Gets or sets the maximum number of simulated substeps per frame.
Gets or sets the default speed threshold for going to sleep.
Gets or sets the default speed threshold for going to sleep.
Gets the predefined physics groups.
Gets the physical system instance.
Emit trigger and collision events.
Init the system, will be invoked by Director when registered, should be implemented if needed.
The lifecycle function is automatically executed after all components update
and lateUpadte
are executed.
the time since last frame.
Collision detect all collider, and record all the detected results, through PhysicsSystem.Instance.RaycastResults access to the results.
世界空间下的一条射线
掩码,默认为 0xffffffff
最大检测距离,默认为 10000000,目前请勿传入 Infinity 或 Number.MAX_VALUE
是否检测触发器
boolean 表示是否有检测到碰撞盒
Collision detect all collider, and record and ray test results with the shortest distance by PhysicsSystem.Instance.RaycastClosestResult access to the results.
世界空间下的一条射线
掩码,默认为 0xffffffff
最大检测距离,默认为 10000000,目前请勿传入 Infinity 或 Number.MAX_VALUE
是否检测触发器
boolean 表示是否有检测到碰撞盒
Reset the accumulator of time to given value.
Perform simulation steps for the physics world.
Sync the scene world transform changes to the physics world.
Update function of the system, it will be invoked between all components update phase and late update phase.
Delta time after the last frame
Sorting between different systems.
System a
System b
Generated using TypeDoc
Physics system.