CMCharacter Modules 0.1.0

Gym Door

Kind: Gym · Add Component: Character Modules > Gym > Gym Door

A door that slides open when called. Sections open in order.

A door that slides open when something calls it.

Inspector
▼Gym Door⋮
Open Offset(0, 2.8, 0)
Speed4
The Gym Door component in the Inspector, with its defaults.
Origin. A testing tool of this package.

How it works

A door that slides by openOffset when opened and back when closed. Wire Open and Close to events.

Properties

PropertyDescriptionRangeDefault
Open OffsetHow far the door moves to open, in its parent's space.(0, 2.8, 0)
SpeedOpening and closing speed, m/s.0.01 or more4

Additional resources