docs: updated physics interface delta parameter comment
This commit is contained in:
parent
f5fbd4e5ef
commit
fbdea47dc7
@ -10,6 +10,6 @@ public interface IPhysicsUpdate : IBehaviour
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Updates the physics state of the object based on the elapsed time since the last update.
|
/// Updates the physics state of the object based on the elapsed time since the last update.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="delta">The time elapsed since the last physics update, typically in seconds.</param>
|
/// <param name="delta">The time elapsed since the last physics update.</param>
|
||||||
void PhysicsUpdate(float delta);
|
void PhysicsUpdate(float delta);
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,6 @@ public interface IPostPhysicsUpdate : IBehaviour
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Execute logic that should occur after the physics simulation has been updated.
|
/// Execute logic that should occur after the physics simulation has been updated.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="delta">The time elapsed since the last physics update, typically in seconds.</param>
|
/// <param name="delta">The time elapsed since the last physics update.</param>
|
||||||
void PostPhysicsUpdate(float delta);
|
void PostPhysicsUpdate(float delta);
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,6 @@ public interface IPrePhysicsUpdate : IBehaviour
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Execute logic that should occur before the physics simulation is updated.
|
/// Execute logic that should occur before the physics simulation is updated.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="delta">The time elapsed since the last physics update, typically in seconds.</param>
|
/// <param name="delta">The time elapsed since the last physics update.</param>
|
||||||
void PrePhysicsUpdate(float delta);
|
void PrePhysicsUpdate(float delta);
|
||||||
}
|
}
|
||||||
|
@ -187,6 +187,7 @@ public class PhysicsEngine2D : Behaviour, IPhysicsEngine2D
|
|||||||
{
|
{
|
||||||
physicsPreUpdateCollector.Assign(universe);
|
physicsPreUpdateCollector.Assign(universe);
|
||||||
physicsUpdateCollector.Assign(universe);
|
physicsUpdateCollector.Assign(universe);
|
||||||
|
physicsIterationCollector.Assign(universe);
|
||||||
physicsPostUpdateCollector.Assign(universe);
|
physicsPostUpdateCollector.Assign(universe);
|
||||||
colliderCollector.Assign(universe);
|
colliderCollector.Assign(universe);
|
||||||
rigidBodyCollector.Assign(universe);
|
rigidBodyCollector.Assign(universe);
|
||||||
@ -198,6 +199,7 @@ public class PhysicsEngine2D : Behaviour, IPhysicsEngine2D
|
|||||||
{
|
{
|
||||||
physicsPreUpdateCollector.Unassign();
|
physicsPreUpdateCollector.Unassign();
|
||||||
physicsUpdateCollector.Unassign();
|
physicsUpdateCollector.Unassign();
|
||||||
|
physicsIterationCollector.Unassign();
|
||||||
physicsPostUpdateCollector.Unassign();
|
physicsPostUpdateCollector.Unassign();
|
||||||
colliderCollector.Unassign();
|
colliderCollector.Unassign();
|
||||||
rigidBodyCollector.Unassign();
|
rigidBodyCollector.Unassign();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user