hey fellas
im gonna start making a game soon but i need to do all the planning and stuff first of course. i cant tell you what the game is yet coz its top secret lol but the code here is the exact code that ill be needing. its perfect in everyway except one. it only deals with a flat matrix. with my game i need it to deal with a matrix that has different heights. im still in school tho and theyve just been teaching me easy stuff in maths so far....nothing thatll help me with this of course, so its vvvvv difficult for me to tweak it myself. i tried changing
position object 1,x#,y#,z#
to
position object 1,x#,get ground height (1,x#,z#),z#
and i also randomized the matrix
but this still did not suit my requirements. after examining the code further i realised that the click deals only with y=0 and therefore with this code the sphere is on top of the matrix, but not under the mouse anymore, rather it is over the point on y=0 where the mouse is being clicked. if someone could tweak jamesblonds code just a bit i would be forever in their debt.
red general: i had a look at your code too but unfortunately i didnt have 1 .x model on my comp so i couldnt run it plus there was also lots of stuff in there i didnt need so it would also be really useful if someone could just filter out that code for me?????
sorry if this is any trouble but i would really really appreciate it if someone could give me a hand here
cheers,
Teepee