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


Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Use crowbar to open a door
pontusry Offline
Junior Member

Posts: 29
Threads: 10
Joined: Apr 2012
Reputation: 0
#18
RE: [Tutorial] Use crowbar to open a door

You should probably mention that this:

AddPropImpulse("NAMEOFYOURDOOR", -1, 2, -4, "world");


Should be this:

AddPropImpulse("NAMEOFYOURDOOR", afX, afY, afZ, "world");


afX: Direction along the X-axis
afY: Direction along the Y-axis
afZ: Direction along the Z-axis

Since it's true on "world", then it won't be correct for everybody if they use the same amounts.

If you can't explain it simply, you don't know it well enough.
(This post was last modified: 05-14-2012, 11:29 PM by pontusry.)
05-14-2012, 11:27 PM
Find


Messages In This Thread
RE: [Tutorial] Use crowbar to open a door - by pontusry - 05-14-2012, 11:27 PM



Users browsing this thread: 1 Guest(s)