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
Script Help Slight problem with prop impulse
Yare Offline
Junior Member

Posts: 22
Threads: 2
Joined: Mar 2013
Reputation: 0
#3
RE: Slight problem with prop impulse

(04-19-2013, 03:13 PM)JustAnotherPlayer Wrote: You need to have it to be above 2000 to see the effects. And you need .f after each one.

You need 2000+ in AddPropForce. Impulse is much stronger. And you need .f only if you type float values. Integers work without it.

I am wondering why you put a force both on x and z axis. If you want to push the door, I think you need a force only along one axis, depending on how the door is situated. If you want the door to open entirely, I recommend to use 5+ values. Also remember about a proper direction by typing a value over or below 0.
You can simply select your door in Level Editor, drag it into direction you wish it to open, and watch how its position values on the right panel change. For example, if the value on "x" axis increases, you need to type 5 or more. If it goes down, -5 or less.
04-19-2013, 04:18 PM
Find


Messages In This Thread
Slight problem with prop impulse - by serbusfish - 04-19-2013, 02:59 PM
RE: Slight problem with prop impulse - by Yare - 04-19-2013, 04:18 PM



Users browsing this thread: 1 Guest(s)