Otolone
Member
|
Which Base class for my Lamborghini?
Hi!
I want to write a class for my car.Common sense tells me that I should extend the Game.Kinematic like below:
Class Lamborghini:Game.kinematic
{
//
}
I reasoned that a moving car is a kinematic object.But when I do that the Lamborghini moves through walls.
If I extend Game.Chr class like below:
Class Lamborghini:Game.Chr
{
//
}
The car does not go through walls.But unless I want to code "Optimus Prime" in the "Transformers", I don't think this is a good idea.
What is the right class to implement a Lamborghini class in EE.
Thanks.
|
|
11-21-2018 03:17 AM |
|