Error BCE0051: Operater '==' cannot be used. Please Help!


Im getting error BCE0051: Operater ‘==’ cannot be used. I have supplied a picture of the errors I’m getting:


This is the script I’m trying to get working:


If you know how to fix this problem, Please leave a comment below on how to do so.

Regards, Raxis!

RotationAxisRotationXY needs to be typecast as a RotationAxis:

wherever you’re declaring it, say

var RotationAxisRotationXY : RotationAxis = (…etc)

that should fix it