Component:CharacterForceField

From Resonite Wiki
Revision as of 15:45, 16 October 2024 by 989onan (talk | contribs) (add some info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Character Force Field component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
TriggersOnly Bool Whether to only allow trigger colliders attached to character controller objects to activate the force field.
Force Float3 force direction and magnitude to apply a character controller within range with.
ForceMode Mode Whether to use impulse, apply, or set velocity using Force
ForceSpace Space Whether to do the force direction in local or global space (so should Force be scaled and rotated by the slot this is on or not?)
RadialForceRadius Float The range of effect this force field has.
ForceSlotSpace direct RootSpace Override the transform space for Force with this if set.
MinActivationVelocity Float The minimum velocity a character controller has to be going to trigger this force field.
MaxForceVelocity Float
HoldJumpMaxForceVelocity Float
PreseveDirectionAcrossPlane Bool
IgnoreParentUser Bool Whether to ignore the active user when finding character controllers within range of RadialForceRadius. This also ignores character controllers that are simulated by the user. (TODO: is this true?)
NoJumpMultiplier Float
HoldJumpMultiplier Float
MaxCharacterVelocity Float The maximum velocity this component can set a character controller's speed to after setting a force on it.
MinCharacterVelocity Float The minimum velocity this component can set a character controller's speed to after setting a force on it.
CharacterVelocityDampeningSpeed Float

Behavior

Examples

See Also

Character Controllers