Hello all!
I need help (yeah, I know!)
I got four spheres I'm trying to align to a terrain. I guess that line picking will be quicker than using collisions on a complex mesh (??) so I'm trying to linepick 'em .. problem is that all four spheres sit at the same height, even though I'm trying to pick down from each one :S
BTW: The spheres are children of my spaceship (now thats a strange thing to write .. I'm sounding like a cult leader!) which is why I'm using PickedNY instead of PickedY ..
Heres what I got for the align bit ..
Any clues? I can't see what I'm doin wrong :(
Thanks!
Parrot
I need help (yeah, I know!)
I got four spheres I'm trying to align to a terrain. I guess that line picking will be quicker than using collisions on a complex mesh (??) so I'm trying to linepick 'em .. problem is that all four spheres sit at the same height, even though I'm trying to pick down from each one :S
BTW: The spheres are children of my spaceship (now thats a strange thing to write .. I'm sounding like a cult leader!) which is why I'm using PickedNY instead of PickedY ..
Heres what I got for the align bit ..
q=LinePick(EntityX#(c\FL),EntityY#(c\FL)+1,EntityZ#(c\FL),0,-5,0) PositionEntity c\FL,EntityX#(c\fl),PickedNY#(),EntityZ#(c\fl) q=LinePick(EntityX#(c\FR),EntityY#(c\FR)+1,EntityZ#(c\FR),0,-5,0) PositionEntity c\Fr,EntityX#(c\fr),PickedNY#(),EntityZ#(c\fr) q=LinePick(EntityX#(c\RL),EntityY#(c\RL)+1,EntityZ#(c\RL),0,-5,0) PositionEntity c\rL,EntityX#(c\rl),PickedNY#(),EntityZ#(c\rl) q=LinePick(EntityX#(c\RR),EntityY#(c\RR)+1,EntityZ#(c\RR),0,-5,0) PositionEntity c\rr,EntityX#(c\rr),PickedNY#(),EntityZ#(c\rr)
Any clues? I can't see what I'm doin wrong :(
Thanks!
Parrot