Advanced Gyro Pod AimMode = 1 error
Closed this issue · 3 comments
dannypotts commented
When wiring the input of the gyro AimMode to a value of 1, the gyro refuses to move and will not work. It spams these errors to the console when AimMode = 1.
[ERROR] addons/sbep-master/lua/entities/gyropod_advanced/init.lua:560: attempt to perform arithmetic on a nil value
- AimByTarPos - addons/sbep-master/lua/entities/gyropod_advanced/init.lua:560
- unknown - addons/sbep-master/lua/entities/gyropod_advanced/init.lua:353
samcooke98 commented
What is it meant to do?
dannypotts commented
When it works normally it takes the basic inputs (Forward makes it go forward, ect) however it sets its angle so it points towards the world XYZ vector on the AimVec input. At the moment, if AimMode = 1 then it ignores all of its inputs and seems to freeze up until you take it out of AimMode by making AimMode = 0.
DataSchmuck commented
I fixed this.