Tokamak Car Physics

Blitz3D Forums/Blitz3D Programming/Tokamak Car Physics

Craig H. Nisbet(Posted 2005) [#1]
Anyone know of any good demo code for coding vehicles in the Tokamak system. I've never actually messed with it so I don't really know much about it.


Picklesworth(Posted 2005) [#2]
Sweenie (I think it was Sweenie) coded something that worked really well, which also had a spring function and such. Called "TokamakRally".
I'll email it to you if you'd like.


ICECAP(Posted 2006) [#3]
Sorry to dig this up but is there any way i can grab "TokamakRally"?


Sweenie(Posted 2006) [#4]
you'll find the exe here--> www.svenberra.net/tokamakrally.zip

The sourcecode is here--> www.svenberra.net/TokaRally.bb

Feel free to use it in your code, if you find it useful of course. :)


Mikele(Posted 2006) [#5]
Wow! Thanks Sweenie! This is VERY useful.


ICECAP(Posted 2006) [#6]
Sweenie,
I am having difficulty adding objects into your code to collide with, for instance buildings. Are you able to help me out on this?


Sweenie(Posted 2006) [#7]
Sure, post the code you use to create a building, and I'll have a look at it.


ICECAP(Posted 2006) [#8]
Hehe, it isnt much i just use createcube() and then scale it... the problem i am having is that i have no idea how to make the vehicle able to crash into it... been trying for ages.
Is there any way just to tell toka to collide with primitive shapes? I thought it was something to do with the animated body suff but count seem to get it working.


Sweenie(Posted 2006) [#9]
Download these docs made by Bot Builder and have a look at the TOKAB_ functions...
http://www.svenberra.net/Docs.zip


ICECAP(Posted 2006) [#10]
Ahhhhh thanks!
Works a treat!