About Store Forum Documentation Contact



Post Reply 
Which Base class for my Lamborghini?
Author Message
Otolone Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
Post Reply