tokamak physics thread 4

Blitz3D Forums/Blitz3D Programming/tokamak physics thread 4

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

ooh, hehe, I thought it was my restitution on the rope causing that problem. `my bad :)
Come to think of it, I think that's the same reason for my trouble with the car demo... So I've learned a lesson: never trust restitution unless it's really needed.

Tokamak materials are quite simple: You put toksim_setmaterial at the top of your code for each material you want to create. Remember the index you use (in fact, using a constant for the indexes is a good idea). Then you can apply it to geometries at any point with tokgeom_setmaterial()