Ask a Question related to Macromedia Director 3D, Design and Development.
-
Roofy #1
up Vectors
Hi there all,
I am tring to use the Havok physic enging with its library behaviours, and by
default, I noticed that when you create a scene through lingo, the camera and
the models up vector is different from Havok. For example, lets say you create
a simple floor, and you create a simple sphere that you want to bounce along
the floor. You then face the camera so that positive z translations will move
forward, which makes the floor look like a bowling lane. However, after you
apply havok and its rigid bodies etc, the ball moves towards the camera
instead of droping down to the floor. So my question is, how do you setup the
up vectors to my models and camera so that it matches the up vector to havok's
up vector?
Also, here is a link to my example of what is happening....
[url]http://home.comcast.net/~rneilen216/example/test_havok.htm[/url]
Roofy Guest
-
UGHHHH!!! Vectors!
I am creating a logo that consists of a couple shapes and some lettering. I originally made it in Photoshop 7 to get it how I wanted it to look then... -
tracing JPG or whatever into vectors
Im new to illustrator but i understand the purpose of it. I have images i created in Photoshop that i want to recreate in Illustrator as vectors... -
Bitmap to vectors?
Actually, FreeHand's trace tool is pretty good, in my opinion. Colors and shapes are reproduced very well. BUT... if you want to be able to edit... -
Havok and vectors
Hi, Let's say I have a ball on the ground and I my camera is above it looking down. How does the vector that I use to apply an impulse with... -
Vectors Cast
I'm having some trouble making a cast member with vectors. The thing is, I want to make a copy of this logo I have as a vector cast member. Is there... -
roofy #2
Re: up Vectors
Sorry for the duplicate guys.
I didn't see my original post because I posted it in Macromedia's
website. Then remembering that I shouldn't use there site when I didn't
see the link so I posted again. Sorry about that.
roofy Guest
-
hondo3000 #3
Re: up Vectors
dont think about changing your models up axis, simply change the havok engines
gravity vector!
pHavok.gravity=vector(0,-9.81,0)
thats all, but dont know how to use it with the behaviors that came with the
library because they are confusing... you can try to search the scripts to find
the word "gravity" so you can maybe change the vector there.
but better code the havok stuff on your own.
hondo3000 Guest
-
roofy #4
Re: up Vectors
Ok Thanks Hondo3000. In addition, I have to agree with you about the
havok behavious. In fact, I came up with another problem, that I am
going to try to fix by re-reading the Bowling tutorial that is at
[url]www.director-online.com[/url]. When comparing, I noticed that I was able to
stop the ball from flying through the z axis, but it doesn't move at
all. So I guess I have to write the lingo exactly the way the tutorial
shows it, and see if I can get the same results. I will let you know if
there are any problems.
Thanks Bob
roofy Guest
-
roofy #5
Re: up Vectors
Ok, I follow the tutorial excatly to what it said, and I still had a
problem. However, I took Hondo3000's advice about the gravity's up
vector, and did a search on script that I downloaded from the tutorial.
Appearently, they didn't discuss it, but they did infact changed the
gravitiy's up vector without telling us to do so. I don't understand
why they would miss that out, after I had spent a half of a day tring
to figure out why my project wasn't coming out the same.
roofy Guest
-
tigral #6
Re: up Vectors
why dont you just rotate the camera, code inside the 3dcast member
member(1).camera(1).rotate(0,0,10 #self) or #world
member(1).camera(1).transform(0,0,10) or #world
tigral Guest



Reply With Quote

