How to make a ball in TGE?
by Roman Budzowski · in Torque Game Engine · 04/19/2005 (4:19 am) · 4 replies
Hello
I'm just starting my adventure with TGE and I woul like make first game to be some kind of valleyball, but ... is it possible to make a ball using just script? What kind of datablock is best for it?
best regards
Roman
I'm just starting my adventure with TGE and I woul like make first game to be some kind of valleyball, but ... is it possible to make a ball using just script? What kind of datablock is best for it?
best regards
Roman
Torque Owner Stefano Grippa
I suggest you to download the "bouncing boulder" resource that implements a new class of dynamic shapes whose physics is directly stripped from the vehicle code.
It means that the "ball" will respond to impacts, gravity, friction and so on.... (it's an "almost" Ode integration..:))
The resource is quite easy to implement, thought you have to recompile part of the code.
Hope it helps.