The Daily Click ::. Forums ::. Klik Coding Help ::. the expression editor thingie
 

Post Reply  Post Oekaki 
 

Posted By Message

Maaaartin



Registered
  04/10/2003
Points
  219
25th May, 2004 at 09:06:48 -

does anyone know how to make an object's position always opposite of another object in the expression editor? i know it's possible 'cos i figured it out once. I remember that to get something inbetween 2 objects was (x("object1")+x("object2"))/2 and i figured it out the opposite thing by doing that slightly wrong.

 
www.geocities.com/martinbonne7

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
25th May, 2004 at 09:37:55 -

Since their positions are opposite, there must be a central point that their positions are based off of(kinda like a mirror).

Here's how it's done:

-set X position of object2 to X(central point)-(X(object1)-X(central point))
-set Y position of object2 to Y(central point)-(Y(object1)-Y(central point))

 
n/a

Mr Icekirby



Registered
  18/12/2003
Points
  846
25th May, 2004 at 15:28:50 -

or have someone make an extension that does a mirror around a central point,
or be a smart person and use snerlin's idea

BTW, nice arvatar snerlin

 
Mr Icekirby says so!
OBEY ME!

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
25th May, 2004 at 18:32:21 -

thanks, spent a half a day making it.

Maybe if MMF didn't crash so much from the line tool, it wouldn't have taken so long though. lol

Image Edited by the Author.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click