Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Issues Help I NEED HELP!
Adrianis Offline
Senior Member

Posts: 620
Threads: 6
Joined: Feb 2012
Reputation: 27
#14
RE: I NEED HELP!

Oh apologies for not explaining that - yeh 500, 0, 0 will apply '500' force along the positive X axis, wheras -500 would be the negative X axis, or in other words, the opposite direction. The actual quantity of force needed is quite high, otherwise you don't notice it - 500/1000 will definately make it move so you'll know if it's working, but it may be too much / too little so play around with the values till you find something that works.

Also, the last parameter on that list, "local" - that's the coordinate system to use. It can be "world", which basically means it follows the x, y, z system that applies for the entire map (as seen in your map editor), so the position of the door (and its rotation, if you change it) does not matter. The direction of the force needed is easy to find when the coordinate system used is "world", because you can just drag the entity in the map editor and watch the position value change, so you can see if it is +/- x or z.

"local" means it uses the coordinate system of the actual entity, so no matter where or what rotation the door is at, it will always apply to the same direction for that door (this means that you can apply exactly the same force/direction to any door, even if it is rotated 90 degrees to another, and it will still open/close correctly). From playing around with this myself, IIRC the open/close angle for applying force is the 'z' axis, though I may be completely wrong so change the values to the X axis if it doesn't work

It may be worth noting that I haven't tested that script Smile

(This post was last modified: 02-18-2013, 11:07 PM by Adrianis.)
02-18-2013, 11:04 PM
Find


Messages In This Thread
I NEED HELP! - by PutraenusAlivius - 02-17-2013, 12:21 PM
RE: I NEED HELP! - by No Author - 02-17-2013, 12:45 PM
RE: I NEED HELP! - by i3670 - 02-17-2013, 12:48 PM
RE: I NEED HELP! - by PutraenusAlivius - 02-17-2013, 02:18 PM
RE: I NEED HELP! - by 343 - 02-17-2013, 03:41 PM
RE: I NEED HELP! - by No Author - 02-18-2013, 12:17 AM
RE: I NEED HELP! - by PutraenusAlivius - 02-18-2013, 09:58 AM
RE: I NEED HELP! - by No Author - 02-18-2013, 10:16 AM
RE: I NEED HELP! - by PutraenusAlivius - 02-18-2013, 02:05 PM
RE: I NEED HELP! - by Adrianis - 02-18-2013, 02:17 PM
RE: I NEED HELP! - by PutraenusAlivius - 02-18-2013, 02:43 PM
RE: I NEED HELP! - by TheGreatCthulhu - 02-18-2013, 03:05 PM
RE: I NEED HELP! - by PutraenusAlivius - 02-18-2013, 03:17 PM
RE: I NEED HELP! - by Adrianis - 02-18-2013, 11:04 PM



Users browsing this thread: 4 Guest(s)