Game Development Community

Floating Items?

by Wayne Eversole · in General Discussion · 03/30/2007 (12:04 pm) · 7 replies

Is there any example code out that shows how to make an item float on water?

Example: Fishing Bobber?

Thanks

#1
04/02/2007 (11:39 am)
Anyone have any ideas on this matter?
Thanks
#2
04/02/2007 (11:47 am)
There is a boat resource that may help you.

Adding Watercraft to TGE
#3
04/04/2007 (6:05 am)
Thanks mb.
I am going to look into this resource but was hoping that someone has already have an example of this since I am not a very good programmer lol.
#4
04/11/2007 (11:31 am)
I have not had any luck with this so is there anyone else out there who has an idea on this one?
Thanks
#5
04/11/2007 (11:49 am)

Make the density of your object lower than the waters' density (this should really be posted in a non public forum, so i deleted what I posted before)

tdn.garagegames.com/wiki/Torque_Console_Objects_12
#6
04/12/2007 (3:07 am)
Sweet.

Thanks mb
#7
04/12/2007 (1:19 pm)
Mb I have added density to my projectile but it does not float on water. Could it be because its a projectile?

Thanks