Character Parenters are a component that allow for parenting or aligning the gravity of a user when they hit a collider.
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|TriggersOnly|Bool|
|TriggersOnly|Bool| Whether to only allow trigger colliders that are part of this component's slot hierarchy to activate parenting.
|NestIntoSpace|Bool|
|NestIntoSpace|Bool| Parent the user into the slot <code>ParentSpace</code> or not.
|MustBeOnGround|Bool|
|MustBeOnGround|Bool| The user must be on the ground according to the [[Component:CharacterController|character controller]] before they will be aligned/parented.
|Filters|{{RootFieldType|SyncList`1|[[#AlignmentFilter|AlignmentFilter]]}}|TypeAdv3=true| What directions a user must be aligned to relative to the slot this component is on for them to get parented.
|IgnoreParentUser|Bool|
|IgnoreParentUser|Bool| Ignore the active user of this component when attempting to parent a user.
|ParentSpace|{{RootFieldType|RootSpace}}|TypeAdv5=true| The space that users should get parented to when using <code>NestIntoSpace</code>.
}}
}}
Line 18:
Line 18:
== Examples ==
== Examples ==
This component is used in many different zones where keeping a user moving with something is essential. Objects like this include: platforms, elevators, mech control rooms, parkour platforms, spaceships, and the list can go on.
== See Also ==
== See Also ==
[https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/353 Issue 353, bumpiness issues when on another user]
The space that users should get parented to when using NestIntoSpace.
Behavior
Examples
This component is used in many different zones where keeping a user moving with something is essential. Objects like this include: platforms, elevators, mech control rooms, parkour platforms, spaceships, and the list can go on.