Physics and collisions

Blitz3D Forums/Blitz3D Programming/Physics and collisions

Bot Builder: Can you please be more specific? I have tried increasing TOKSIM_Advance(1.5/FPS,2.0) to TOKSIM_Advance(1.5/FPS,15.0) but it has no efect ecept slowing everything down, but collisions still fail.

This is the tweening system I am using, so what do you mean "jacking up your tokomak tick subdivisions"?
Const FPS=120

period=1500/FPS
time=MilliSecs()-period

;in main loop

Repeat
		elapsed=MilliSecs()-time
	Until elapsed

	ticks=elapsed/period
	tween#=Float(elapsed Mod period)/Float(period)

	For k=1 To ticks
		time=time+period
		If k=ticks Then CaptureWorld

		TOKSIM_Advance(1.5/FPS,2.0)
 ;game stuff

            next