How can i find rotational velocity in 1 axis for a rollover script?

I have a script which is made to detect whenever a car starts to rollover side over side, but the problem is that i cant seem to find a way to get angular velocity in only 1 axis.

I have the rest of the script ready but im just missing that part.

Ive tried with assemblyangularvelocity and rotvelocity but i cant seem to find a way to only get 1 axis

(this might sound like a complete newbie thing but i have never really worked with either of those 2 variables before, they are somewhat new to me)

nvm i found out how, heres the post i found the solution from

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.