rearranging
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
52f78c5351
commit
23b6eb51ee
|
@ -6,6 +6,8 @@ weight: 30
|
|||
|
||||
*SweepTest* is a static class containing methods for performing sweep testing.
|
||||
|
||||
## Methods
|
||||
|
||||
##### **public static SweepResult<T> Test<T>(SpatialHash<T> spatialHash, Rectangle rectangle, Transform2D transform, Vector2 ray) where T : IEquatable<T>**
|
||||
|
||||
Efficiently performs a sweep test on and against rectangles. Returns the position 1 pixel before overlap occurs. Useful for things like platforming collision.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: "Sweep Test"
|
||||
date: 2020-07-18T12:37:29-07:00
|
||||
weight: 15
|
||||
weight: 25
|
||||
---
|
||||
|
||||
Sweep testing is an efficient way to check collision positions on moving objects.
|
||||
|
|
Loading…
Reference in New Issue