Update content vectors to numerics (#17759)
This commit is contained in:
@@ -98,7 +98,7 @@ public sealed class StepTriggerSystem : EntitySystem
|
||||
return;
|
||||
}
|
||||
|
||||
if (otherPhysics.LinearVelocity.Length < component.RequiredTriggerSpeed
|
||||
if (otherPhysics.LinearVelocity.Length() < component.RequiredTriggerSpeed
|
||||
|| component.CurrentlySteppedOn.Contains(otherUid)
|
||||
|| otherAabb.IntersectPercentage(ourAabb) < component.IntersectRatio
|
||||
|| !CanTrigger(component.Owner, otherUid, component))
|
||||
|
||||
Reference in New Issue
Block a user