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 How to do flying body ?
EpicLisbe Offline
Junior Member

Posts: 13
Threads: 4
Joined: Dec 2011
Reputation: 0
#3
RE: How to do flying body ?

(02-10-2012, 06:45 PM)flamez3 Wrote: I am going to answer this question...No one answer with a negative response after that...k?

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "FlyingBody", true, 1);
}

void FlyingBody(string &in asParent, string &in asChild, int alState)
{
AddPropImpulse("nameofcorpse", afX, afY, afZ, "world");
}

afX - direction along the X-axis
afY - direction along the Y-axis
afZ - direction along the Z-axis
Yes but where i can see the afx afy and afz


02-10-2012, 06:47 PM
Find


Messages In This Thread
How to do flying body ? - by EpicLisbe - 02-10-2012, 06:41 PM
RE: How to do flying body ? - by flamez3 - 02-10-2012, 06:45 PM
RE: How to do flying body ? - by EpicLisbe - 02-10-2012, 06:47 PM
RE: How to do flying body ? - by flamez3 - 02-10-2012, 06:48 PM
RE: How to do flying body ? - by JenniferOrange - 02-11-2012, 02:20 AM
RE: How to do flying body ? - by Havi - 02-11-2012, 10:46 AM
RE: How to do flying body ? - by flamez3 - 02-11-2012, 10:52 AM
RE: How to do flying body ? - by Havi - 02-11-2012, 04:05 PM



Users browsing this thread: 1 Guest(s)