jv-ode more than one car
Blitz3D Forums/Blitz3D Userlibs/jv-ode more than one car
| ||
hi... i learning use the jv-ode... i make modifications from demo, trying to put two cars... i can create the secound car... but i dont understand how works the keyboard control, with the force variable... how i apply to the secound car?... each car is a type?... what type is ? there is an example show this?, more than one car in jv-ode? sorry, for my english... Saludos.. |
| ||
Here's a two car demo with simple AI controlling the second car. The 'Force' variable is changed to an array, one for each car... |
| ||
hey, thanks VIP3R!!... this is very helpfull!.. thanks!!! :) |
| ||
nice demo vip3r :O) |
| ||
Thanks both, you're welcome :) |
| ||
Cheers viper, this is fantastic timing - I am just about to embark on the path of two vehicle control, on different computers but the logic will be the same within the code. Now I may add a 3rd truck - a computer AI truck that you have to 'race' to the respective end zones, ambitious but why not....... |