Game Development Community

Real time terrain deform for impacts

by Andy Hawkins · in Torque Game Engine · 01/07/2007 (3:16 pm) · 6 replies

Is it possible to make real-time ripples in the terrain? Like the ripple effect in Matrix when the heli hits the building and the glass distorts from the impact... can this be done with the terrain? I wanted to try something where the bad guy jumps and lands (like in Superman returns) and then stomps the terrain.

The ripple would both distort the terrain, possibly knocking the player off his feet, and also change the terrain texture to look like cracked mud / earth as well.

#1
01/08/2007 (7:48 am)
The short answer is yes, but I can't help you with how. I'd guess some sort of sine function on the vertices nearest the impact point. For the texture effect, look up how the terrain texture painter does its painting. orry I can't be more specific - I haven't played around with much like this in Torque yet.
#2
01/08/2007 (1:04 pm)
Or you could search for Networked Terrain Deformation.
#3
01/08/2007 (3:12 pm)
Excellent - thanks guys. I should be able to implement this into a special build for the Skeleton Pack upgrade 1.1 which is almost, almost complete :)
#4
01/08/2007 (3:18 pm)
Geez, you're cramming a lot more features and cool stuff into that "skeleton" pack of yours. :)
#5
01/08/2007 (3:42 pm)
Yeah - can anyone say "feature creep"??????
#6
01/08/2007 (4:20 pm)
Feature creep.

It appears so...