i have been wondering how to make gravity on a terrain.
Befor any1 starts to scold me, i have SEARCHED, and i have also tried my exprinments and came up with either horrible/ no results........
ihe gravity for terrain doesn't work the same way as the gravity for q3 map, if it does then i missed the point on how it works, but i did my best and came up with bad results....
SO IF ANYONE HAVA WAY OF PUTTING GRAVITY, CAN U PLS SHOW ME AN EXAMPLE
The terrain tutorial has a collision response animator, is that what you're looking for? If you want *real* gravity, then try looking at a physics engine like ODE or Newton.
Hey. In the terrain turtorial as referenced by conquistador the:
createCollisionResponseAnimator() method will allow you to implement the gravity. It is the fourth element passed to this method in the form of a core::vector3df())
Not sure but maybe they are having the same problems as me/
The collision for meshes is diff then that of terrian as one uses
createOctTreeTriangleSelector
and the other
createTerrainTriangleSelector
The terrian triangle selector works for crap for me and I fall into my terrian all the time and see huge gaps in my terrian when the camera is moved just right.
So I suffer with mesh terriains like the one below and everything works / But I sure would like to use detail textures with it..
I also would like to set the uv for each texture insted of setting the scale for both of them at one time/ kinda dont make any sense. You use one texture to set the detial and should be able to tile it to your likeing/ Then lay your overlay over top of that and scale it and tile it to your likeing but NOPE i dont see that either.
Anyway collision most certiantly isnt working the same between the two methods for me thats for sure.
Maybe someone has ideas to why
Im probably just missing something lol