#1 2017-12-15 16:11:00

gaya
Member

Grenades?

I'm trying to add a new weapon to the game, which is a grenade. I managed to copy the current projectile and make it slower and make it explode after some time. Unfortunately, i have absolutely no idea how to make it bounce. Tesseract doesn't seem to have a physics library that would support this, but then there are ragdolls! How can we do projectiles that use the same code as ragdolls?

Offline

#2 2018-09-26 20:11:21

Hypernova^
Member

Re: Grenades?

Last time I used Tesseract the code for the "bouncer" object (very basic collision/elasticity system) was still there, just unused for anything (In Sauerbraten it was used for grenades, gibs and debris). Try checking there :)

Offline

Board footer