Game Development Community

Walking on water (and swim)

by CSUMB (#0008) · in Torque Game Engine · 04/05/2005 (5:00 pm) · 4 replies

Hi all,

We are trying to implement some functionality
in our game to have the character walk or
swim on the water.

We can get our character to float by adjusting
densities between the water and player (if the
player has a lower density than water he floats).
However, when our player is floating he really
can't move. We suspect it is something to do
with the fact that the player isn't really on
the ground, so the game engine doesn't
want to allow him to move.

Is there anyway to get this funcationality (without
having to use a vehicle model?).

Many Thanks,
-Michael

About the author

Recent Threads

  • Ground Collision

  • #1
    04/05/2005 (5:36 pm)
    There is a resource for swimming, you might want to do a search.
    #2
    04/05/2005 (5:40 pm)
    To walk on water make the water super dense and the player not so dense.
    #3
    04/06/2005 (8:58 am)
    Ya, alter the viscosity of the water block and they will walk on it like jelly :)
    #4
    04/07/2005 (3:18 am)
    Are you saying you could have a density where you fall through slowly, kinda like kwicksand? >:-)