Game Development Community

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

About the author

Recent Threads


#1
04/19/2005 (6:32 am)
Presuming that you intend it as a dynamic shape I'm sorry to say that it's not possible to make a "script only" thing.
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.
#2
04/19/2005 (7:10 am)
Say you wouldn't happen to have a link to that would you? I've been searching and can't seem to find it, but it sounds cool.
#4
04/19/2005 (8:25 am)
Munchuss Grassyass :) err however you spell it!