ProtoFlux:Footstep Events

From Resonite Wiki
Revision as of 18:36, 12 September 2024 by AmasterAmaster (talk | contribs) (Fixed node visual, fixed category, updated description, added input and output sections.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Footstep Events
Footstep
Side
Position
Rotation
ImpactVelocity
HasLanded
HitCollider
HitTriangleIndex
Source
null
Locomotion

The Footstep Events node takes in the global source of a FootstepEventRelay or SelfFootstepEventRelay component, and returns the values from this user's footstep. The footstep event counts when any proxy on a slot detects the collision and raycast from a user's feet onto that ICollider, as long as that collider does not have the No Collision setting on, and also does not have the Ignore Raycasts setting on.

Outputs

Footstep (Call)

Fires when a footstep event happens from a FootstepEventRelay or SelfFootstepEventRelay component.

Side (Chirality)

Returns the side of that footstep.

Position (float3)

Returns the position of that footstep.

Rotation (floatQ)

Returns the rotation of that footstep.

ImpactVelocity (float3)

Returns the impact velocity of that footstep.

HasLanded (bool)

Returns if this footstep has landed.

HitCollider (ICollider)

Returns the collider that this footstep has collided with.

HitTriangleIndex (int)

Returns the particular triangle of where this footstep has collided with.

Globals

Source (IFootstepEventRelay)

The FootstepEventRelay or SelfFootstepEventRelay component required to make this node work.