On 2019 Nov 22 early in the morning I finished studying the code of the framework.
I rewrote and annotated the most important scripts via handwriting to understand it better.
It is very much worth it because I now know how to make the changes that I want to make, particularly changing the car model to a bicycle the way the code intended it to be done (not just slapping a child object onto the physics portion).
To do the change, in the Arcade Vehicle Physics framework it looks like, there is a Transform variable modelBase that is used for the car body model assignment, assigned in the inspector, part of the CvBodyMovement class.
For the wheel model there is a GameObject variable wheelPrefab, assigned to in the inspector, part of the CvWheelsBase class.
Cool, now I want to switch the car wheel models to the wheels from the bicycle blender model. Problem is that the bicycle is just one model, and I don’t know enough blender to separate the objects effeciently. So now I suppose I shall take some time to learn Blender and separate the wheels from the bicycle frame.
Perhaps I shall ask for help around the internet to do this too, to make the process easier.
For info on the bicycle, you're able to find it here on OpenGameArt: https://opengameart.org/content/bicycle
0 comments