Funzione statica
Moderato
Trace.BoxSingle
Trace a box against the world and returns a table with the first blocking hit information<br/><br/>Note: The Trace will collide with the ObjectType (in the Collision Settings), even if the channel is ignored below.
Non ancora tradotto
Sintassi
Trace.BoxSingle(start_location, end_location, half_size, orientation, collision_channel = WorldStatic, trace_mode = 0, ignored_actors = {})
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
start_location
|
Vector | — | Start location of the box |
end_location
|
Vector | — | End location of the box |
half_size
|
Vector | — | Distance from the center of box along each axis |
orientation
|
Rotator | — | Orientation of the box |
collision_channel
facoltativo
|
CollisionChannel|integer | WorldStatic |
Supports several channels separating by <code>|</code> (using bit-wise operations) |
trace_mode
facoltativo
|
TraceMode|integer | 0 |
Trace Mode, pass all parameters separating by <code>|</code> (using bit-wise operations)<br/><br/>You need to explicitly pass the modes to return the values you want |
ignored_actors
facoltativo
|
Actor[] | {} |
Array of actors to ignore during the trace |
Valore restituito
- table