Questions and answers about the how and why of making maps.
Kill Joy
Private First Class
Posts: 10 Joined: Sat Jan 29, 2005 8:49 am
Location: Everywhere and yet, nowhere
Post
by Kill Joy » Sun Jan 30, 2005 11:31 pm
So i heard you can have objects moving. how do you do this?
JeffM
Staff Sergeant
Posts: 5196 Joined: Fri Dec 13, 2002 4:11 am
Post
by JeffM » Mon Jan 31, 2005 5:50 pm
no, you can have objects that move the tank with Physics drivers, they do not move themeslevs.
JeffM
BIYA
Corporal
Posts: 891 Joined: Fri Dec 03, 2004 1:43 am
Location: Fredericksburg, Virginia
Contact:
Post
by BIYA » Sat Feb 05, 2005 4:58 am
Can you tell me how to make a moving sidewalk? Please!!! Darn im asking alot of questions.
Last edited by
BIYA on Sat Feb 05, 2005 6:04 am, edited 2 times in total.
RPG
Lieutenant, Junior Grade
Posts: 2015 Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:
Post
by RPG » Sat Feb 05, 2005 5:08 am
Moving sidewalk:
Code: Select all
physics
name moving_sidewalk
linear 10 0 0
end
That makes the sidewalk move at 10 units forward. It is relatively slow.
Here is the object:
Code: Select all
meshbox
name sidewalk
position 0 0 0
size 10 100 1
phydrv moving_sidewalk
end
BIYA
Corporal
Posts: 891 Joined: Fri Dec 03, 2004 1:43 am
Location: Fredericksburg, Virginia
Contact:
Post
by BIYA » Sat Feb 05, 2005 5:45 am
Thanks... im guessing the 10 in linear means how many units?
Tested it and now theres another problem.... How do I cange the direction of the way it travels?
sid6.7
Private First Class
Posts: 614 Joined: Mon Oct 06, 2003 9:58 pm
Location: West USA
Contact:
Post
by sid6.7 » Sat Feb 05, 2005 6:07 am
BIYA wrote: Thanks... im guessing the 10 in linear means how many units?
Tested it and now theres another problem.... How do I cange the direction of the way it travels?
its a guess but liner # # # forward /backwards /up?
or would you use negative numbers to change the direction?
JeffM
Staff Sergeant
Posts: 5196 Joined: Fri Dec 13, 2002 4:11 am
Post
by JeffM » Sat Feb 05, 2005 7:06 am
it's an X Y Z vector in world coordinates..
seting it to 1 1 0 would move the tank 1 unit in X per second, 1 unit in Y per second, and 0 units in Z per second. AKA a 45 degree angle from 0. An object dosn't care what direction your "facing" so there is no concept of "forward"
JeffM
BIYA
Corporal
Posts: 891 Joined: Fri Dec 03, 2004 1:43 am
Location: Fredericksburg, Virginia
Contact:
Post
by BIYA » Sat Feb 05, 2005 8:57 pm
Okay its like changing the positon of the movment. I SEE.
But this moves the tank but how do I get it to look like a escalator? The moving incline.
And also. What if you want multiple things to move in the same direction but each of the objects have a different rotation. How do I get them all to move the same way?
Scorch
Private First Class
Posts: 747 Joined: Thu Sep 30, 2004 12:16 am
Post
by Scorch » Sun Feb 06, 2005 12:48 am
texture matrix for the looks of moving.
Kill Joy
Private First Class
Posts: 10 Joined: Sat Jan 29, 2005 8:49 am
Location: Everywhere and yet, nowhere
Post
by Kill Joy » Sun Feb 06, 2005 1:56 am
owww i tried that while using the caution texture. that hurt my eyes.
Not even I can control my mind.
Scorch
Private First Class
Posts: 747 Joined: Thu Sep 30, 2004 12:16 am
Post
by Scorch » Sun Feb 06, 2005 1:01 pm
oh hehe, put a caution texture with a texture matrix 1 1 0 on a sphere with 8 divisioins, it is so cool!
ok back on topic: if you mean like those ramps on jpa's maps im not absolutely positive but im pretty sure that those use spin.