02-29-2020, 03:49 PM
Thanks!
I'm new to Unity and mostly only dabble in development so bear with me - I am getting an error with this code.
For now what I am trying to do is essentially just add flying to the default avatar that is in the generic "scene" provided with the SDK. So I created a FlyingBike.cs script that contains the code you provided and added that to the existing VZPlayer object that represents the bike (and has the VZPlayer script already on it.)
I get the following in Unity:
'VZSimplePegasus.FixedUpdate()': no suitable method found to override
Looking through the default VZPlayer.cs code I do not see a FixedUpdate() method though I do see Update() and UpdateNormal() (along with UpdateSetup and UpdateNeck) -- should I be using one of those instead of FixedUpdate()?
I'm new to Unity and mostly only dabble in development so bear with me - I am getting an error with this code.
For now what I am trying to do is essentially just add flying to the default avatar that is in the generic "scene" provided with the SDK. So I created a FlyingBike.cs script that contains the code you provided and added that to the existing VZPlayer object that represents the bike (and has the VZPlayer script already on it.)
I get the following in Unity:
'VZSimplePegasus.FixedUpdate()': no suitable method found to override
Looking through the default VZPlayer.cs code I do not see a FixedUpdate() method though I do see Update() and UpdateNormal() (along with UpdateSetup and UpdateNeck) -- should I be using one of those instead of FixedUpdate()?