Rotorcraft Settings
Last updated
Last updated
Rotorcraft settings store the data for a rotorcraft's movement. These settings can be used on multiple rotorcrafts at the same time, making it easy to tweak values. You can have 50 rotorcrafts and 1 settings object, or 50 rotorcrafts each with their own settings.
To create a new settings object, navigate to the folder you wish to store it in: right mouse click -> Create -> e23 -> ARC -> Rotorcraft Settings
The below image is from the Drone example settings that come included with ARC. Most of the values are self-explanatory.
Engine Auto Enabled – If true the engine will be enabled and rotor blades will be spinning at the start. If disabled, your input will require a way to toggle the engine on/ off.
Always Use Gravity – Disabled and the rotorcraft will stay where it is when there is no player input, Enabled and the rotorcraft will slowly descend. This will auto set the 'Use Gravity' field on the Rigidbody.
Acceleration (Range 1 to 150) – How fast to speed up the rotorcraft.
Max Speed (Range 5 to 750) – How fast the rotorcraft can fly (used for forward and reverse).
Break Speed (Range 1 to 150) – How fast to slow down.
Boost Speed (Range 5 to 200) – This setting will increase the MaxSpeed by this value when boosting, resulting in: speed = MaxSpeed + BoostSpeed.
Max Speed To start Reversing (Range 1 to 750) – Breaking will slow the rotorcraft down (using break speed), once this value is reached the rotorcraft will stop breaking and start reversing.
Max Roll Speed (Range 1 to 750) – How fast the rotorcraft can roll (strafe) left/ right.
Steering (Range 0 to 100) – Controls the turning angle of the rotorcraft, how tight the rotorcraft can turn. The lower the value, the larger the turning arch.
Gravity (Range 0 to 20) – This field is used to get the rotorcraft to fall to the ground when the engine is cut mid-air. A higher value will bring the rotorcraft down to the ground faster.
Throttle Speed (Range 1 to 100) – How fast the rotorcraft will gain height or descend to the ground.
Pitch (Range 0 to 150) – Pitch tilts on the X axis, for forwards/backwards movement. Set to 0 for no tilt. Higher values will result in a more visible tilt.
Yaw (Range 0 to 150) – Yaw rotates on the Y axis. When stationary, the rotorcraft will not tilt, set this value for a tilt when moving.
Roll (Range 0 to 100) – Roll rotates on the Z axis. How much to tilt by when rolling (strafing) left/right.
Ground Layer – This is a LayerMask for you to set as your ground layers, which the vehicle will use to know if it is grounded.