Also your property seems wrong. In your getter and setter you are creating a loop by getting and setting the property itself.
It should be shomething like this:
1
2
3
4
5
6
7
8
9
privateVector3 _actualVelocity;
publicvirtualVector3actualVelocity{
get{return_actualVelocity;}
set{_actualVelocity=value;}
}
or this:
1
2
3
4
5
publicvirtualVector3actualVelocity{
get;set;
}
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.