Kevin
Member
|
Creating vehicles
Hi,
If I want to add vehicles to my game, what's the best way of doing it with Esenthel Engine?
I tried creating it as Game::Chr, but then I get this error:
That's because the vehicle skeleton (which is used for rotating blades of a helicopter or rotate wheels of cars), doen't contain the "character bones".
Can I disable the requirement of "character bones" in Game::Chr in some way?
regards,
Kevin
|
|
12-29-2009 07:03 PM |
|
Esenthel
Administrator
|
RE: Creating vehicles
Hi,
you should create your custom class for the vehicles, there is a tutorial for that in the sdk codes, game basics\extending base class, something like that.
Game::Chr is targetted specifically for humaoinds with legs and arms.
|
|
12-29-2009 07:12 PM |
|
Kevin
Member
|
RE: Creating vehicles
(12-29-2009 07:12 PM)Esenthel Wrote: Hi,
you should create your custom class for the vehicles, there is a tutorial for that in the sdk codes, game basics\extending base class, something like that.
Game::Chr is targetted specifically for humaoinds with legs and arms.
Ok, thanks, I'll take a look at the sample.
|
|
12-29-2009 07:35 PM |
|
Harry
Member
|
RE: Creating vehicles
I made cars based on Game::Static objects.
|
|
12-30-2009 11:35 AM |
|
Esenthel
Administrator
|
RE: Creating vehicles
Static is wrong choice, because it assumes that the object will be in the same location all the time.
|
|
12-30-2009 03:16 PM |
|
Harry
Member
|
RE: Creating vehicles
So Item will be better?
(Now I checked my code and I found that my car based on Item not Static Static was in first version xD)
|
|
12-30-2009 03:43 PM |
|
Esenthel
Administrator
|
RE: Creating vehicles
yes, but most suggested is creating new class
|
|
12-30-2009 03:46 PM |
|
Harry
Member
|
RE: Creating vehicles
Ok thanks.
|
|
12-30-2009 03:48 PM |
|