VehicleScript.massCenterOverride: Difference between revisions
Jump to navigation
Jump to search
(Created page with " massCenterOverride does exactly as you would think, overrides where the central point of gravity on a vehicle is '''Prefix''' <pre> "massCenterOverride" "0 10 -1.5" </pre> -...") |
No edit summary |
||
Line 1: | Line 1: | ||
massCenterOverride does exactly as you would think, overrides where the central point of gravity on a vehicle is | massCenterOverride does exactly as you would think, overrides where the central point of gravity on a vehicle is<br> | ||
<br> | |||
'''Prefix''' | '''Prefix'''<br> | ||
<pre> | <pre> | ||
"massCenterOverride" "0 10 -1.5" | "massCenterOverride" "0 10 -1.5" | ||
</pre> | </pre> | ||
- First coordinate moves the center left/right (Strongly advise against changing it if you don't want a lop-sided vehicle | - First coordinate moves the center left/right (Strongly advise against changing it if you don't want a lop-sided vehicle<br> | ||
- Second coordinate moves the center front/back | - Second coordinate moves the center front/back<br> | ||
- Third coordinate moves the center up/down | - Third coordinate moves the center up/down<br> | ||
''' | ''' | ||
Quote from Viromans old jeep script which contains alot of useful information:''' | Quote from Viromans old jeep script which contains alot of useful information:'''<br> | ||
<pre> | <pre> | ||
"massCenterOverride" "0 10 -1.5" | "massCenterOverride" "0 10 -1.5" |
Revision as of 04:53, 3 March 2017
massCenterOverride does exactly as you would think, overrides where the central point of gravity on a vehicle is
Prefix
"massCenterOverride" "0 10 -1.5"
- First coordinate moves the center left/right (Strongly advise against changing it if you don't want a lop-sided vehicle
- Second coordinate moves the center front/back
- Third coordinate moves the center up/down
Quote from Viromans old jeep script which contains alot of useful information:
"massCenterOverride" "0 10 -1.5" // leave at vec3_origin for no override - duke edit - as steve mentioned, this greatly affects wether it rolls or not, and setting it higher (So the center is higher up) tends to lower to tendency to flip // Drag: First coordinate moves center left/right (don't change it), second : front, rear --> setting it <0 limits the turning ability of a tank "on spot" and a bit on the move, setting it > 0 makes turning slower in the beginning and way faster if you keep the keys pressed ; third: up/down --> moving it up? (-) counters flipping but hinders hill climbing