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


Thread Rating:
  • 4 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to make floor break when u go to a certain area
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#81
RE: how to make floor break when u go to a certain area

AddPlayerBodyForce(-5000.0f, 0.0f, 0.0f, true);
I guess the bodyforce, could depend on where the closet is pointing at..?
Try like this?
Quote: AddPlayerBodyForce(-5000.0f, 0.0f, 0.0f, true);
AddPlayerBodyForce(0, -5000.0f, 0.0f, true);
AddPlayerBodyForce(0, 0.0f, -5000.0f, true);
(This post was last modified: 07-08-2014, 09:35 AM by DnALANGE.)
07-08-2014, 09:34 AM
Find


Messages In This Thread
RE: how to make floor break when u go to a certain area - by DnALANGE - 07-08-2014, 09:34 AM



Users browsing this thread: 1 Guest(s)