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
Moving the Player
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#7
RE: Moving the Player

(09-20-2010, 04:03 PM)jens Wrote:
(09-20-2010, 03:17 PM)Pandemoneus Wrote:
(09-20-2010, 03:08 PM)jens Wrote: He can't really move like that. You can use AddPlayerBodyForce(float afX, float afY, float afZ, bool abUseLocalCoords); to "push" him, but I don't think it will behave so it looks like he is walking.

Unfortunately, that doesn't seem to do anything for me.

It works, check the script for 29_orb_chamber for example to see it in action. It is used to push the player away when colliding with the blue fire around Alexander.

Ah, my bad then. I only tried values until 1000, I didn't know that you have to choose at least 10000 to make it have any effect. Big Grin

09-20-2010, 04:27 PM
Find


Messages In This Thread
Moving the Player - by SLi78 - 09-20-2010, 03:01 PM
RE: Moving the Player - by jens - 09-20-2010, 03:08 PM
RE: Moving the Player - by Pandemoneus - 09-20-2010, 03:17 PM
RE: Moving the Player - by jens - 09-20-2010, 04:03 PM
RE: Moving the Player - by Pandemoneus - 09-20-2010, 04:27 PM
RE: Moving the Player - by SLi78 - 09-20-2010, 03:17 PM
RE: Moving the Player - by jens - 09-20-2010, 04:04 PM



Users browsing this thread: 1 Guest(s)