Page 1 of 1

direct/inverse proportionals

PostPosted: Sun Feb 08, 2009 1:57 am
by j2graves
could someone tell me the best way to make direct/inverse proportionals? I usually use =/=-, but it doesn't always work.

Re: direct/inverse proportionals

PostPosted: Thu Feb 12, 2009 7:45 pm
by j2graves
anyone wanna help? =P

Re: direct/inverse proportionals

PostPosted: Fri Feb 13, 2009 12:03 am
by Fuzzy
Can you outline a circumstance or situation where you need one? What action are you attempting?

Re: direct/inverse proportionals

PostPosted: Fri Feb 13, 2009 12:32 am
by j2graves
it's for a game I'm making based on a game called p0rtal, and you see, when an actor goes in one portal on the foor, I want it to come out one on the wall with the same speed, but different direction.

Re: direct/inverse proportionals

PostPosted: Fri Feb 13, 2009 1:54 am
by skydereign
You can use the actors angle variable, manipulate it to the direction you want. Then set directional velocity. So when you hit the portal, change the angle, and move the actor, so it continues in at the same speed.

Re: direct/inverse proportionals

PostPosted: Sat Feb 14, 2009 11:45 pm
by j2graves
thank you! =D +1