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.
Tokamak Car Physics
Blitz3D Forums/Blitz3D Programming/Tokamak Car Physics 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.
I'll email it to you if you'd like.
Sorry to dig this up but is there any way i can grab "TokamakRally"?
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. :)
The sourcecode is here--> www.svenberra.net/TokaRally.bb
Feel free to use it in your code, if you find it useful of course. :)
Wow! Thanks Sweenie! This is VERY useful.
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?
I am having difficulty adding objects into your code to collide with, for instance buildings. Are you able to help me out on this?
Sure, post the code you use to create a building, and I'll have a look at it.
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.
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.
Download these docs made by Bot Builder and have a look at the TOKAB_ functions...
http://www.svenberra.net/Docs.zip
http://www.svenberra.net/Docs.zip
Ahhhhh thanks!
Works a treat!
Works a treat!