MOBA movement

Blitz3D Forums/Blitz3D Programming/MOBA movement

NotAGamer(Posted 2015) [#1]
How to you make a cube/entity to move to a place you clicked in the terrain(3dmodel, not the built in)...?

it'll be very helpful please..


Rick Nasher(Posted 2015) [#2]
Perhaps this gives you some pointers:
Games Demystified: Super Mario Galaxy

There's some nice source included also, just download the zip.


Guy Fawkes(Posted 2015) [#3]
THANK you! I have been wanting to make a sonic the hedgehog bluesphere mini game for EVER now! :D


Matty(Posted 2015) [#4]
Use a pick command and set the pickmode of the terrain mesh to per polygon picking.

Place the entity at the picked coordinates.

The picked normals may come in handy if you wish to align the object somehow with the mesh terrain.

Commands to check:

camerapick, linepick

entitypickmode

pickedentity

pickedx(),pickedy(),pickedz()

and pickednx(),pickedny(),pickednz()