This content has been marked as final. Show 12 replies
Don't have time to read through your script (most people will ignore a request for help with a large script attached!), but I have a few demos of how I do terrain following with modelsUnderRay:
Ground height detection using models under ray:
Ground alignment using models under ray: [www.robotduck.com]
Smooth interpolation of ground alignment using modelsUnderRay:
hope these help!
thats right, the script is a bit too long...
but i think this line is will make the problem:
tVector = collisData.isectNormal * diff
maybe you change the code to something like this:
diff = pCharBoundingBox.resource.width/2
tVector = collisData.isectposition + diff
but this is only from my head, but i think you should put in some "put" commands to monitor what's going on with the vectors.
but this is just
Thanks people.. But I think I may take the havok approach this time. I was having serious errors cropping up when adding the inserted havoks physics scene but I'll work around it.
wow ben those demos looks awsome, how come i never saw those in the site?
Because they're part of a new load of demos which I have thrown together over the course of the last few years but I haven't had time to write up on the site!
Here's a rough and ready directory navigator which you can use to browse what's there at the moment:
im a bit of newbie to all this. im currently doing my dissertation using Lingo. im creating a 3D maze which contain a tutorial within it. i.e. source code given to a user at certain checkpoints. i was looking at your wall collision detection demo's and was wondering can it be done in first person view as i have not implemented an object into the shockwave. if at all possible can you let me know, im kinda slowing down on my dissertation. i have the maze up and running though
sorry, i ment Ben not bob.
sorry for the late reply. yeah its what i was talking about. thats going to help. you wouldn't mind if i look at your code and use anything i can, would you?
Not at all, that's what it's there for :-)
Hey Ben,1 person found this helpful
those links of yours are just great (as usual), I'm a moderator on the main french Director forum : can I spread those links on the forum for other users to see/learn ? Or do you prefer having them all "cleaned" first like the ones available on your website ?
Many of our users don't speak/understand english at all so they never get on the mailing lists or english forums like this one.
Hi Matse,1 person found this helpful
Sure, feel free to spread the links, they are public. I'm not sure what you mean by 'cleaned' though? I guess perhaps you mean that there's no written tutorial page to go with them... don't worry, when I add those I will do it in such a way that the links don't break.