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
Player Movement In Air
Endlvl Offline
Junior Member

Posts: 28
Threads: 4
Joined: Aug 2011
Reputation: 0
#1
Player Movement In Air

Any ideas on how to minimize/ disable player movement in air when floating, the run and move mul are set really low but since the player is floating he is still able to move rapidly. Is their any way to disable that movement without restricting head rotation?

Once Again to clarify the player is floating in the air but even with movement set to 0.001f he is still able to move at regular speeds (jumping is disabled). How fix?
08-03-2011, 08:50 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#2
RE: Player Movement In Air

Aside from constantly teleporting the player to the same spot, you could try invisible walls.

Tutorials: From Noob to Pro
08-03-2011, 10:21 PM
Website Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#3
RE: Player Movement In Air

Look mul?

08-03-2011, 10:22 PM
Website Find
Endlvl Offline
Junior Member

Posts: 28
Threads: 4
Joined: Aug 2011
Reputation: 0
#4
RE: Player Movement In Air

Sadly I require the player to move around by other means also the look mul restricts player head rotation but does not stop movement
08-03-2011, 10:56 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: Player Movement In Air

Perhaps force the player to stay crouched?

Maybe 0.001 is so small that the game rejects it and reverts to a default.

Tutorials: From Noob to Pro
08-03-2011, 11:11 PM
Website Find
Endlvl Offline
Junior Member

Posts: 28
Threads: 4
Joined: Aug 2011
Reputation: 0
#6
RE: Player Movement In Air

1) It seems to work on ground forcing the player to stop moving but when the player jumps or in my case floats they still are able to move freely

2) Also better and more realistic question anyone know how to turn off the grab feature eg to replace it with something else ive been looking through the material and model editors but no dice so far. What separates a holdable entity from a non holdable entity? (its not mass)
////////////////////////////////////
Never Mind bout the 2nd question I GOOOOTTTTTT IT its in user defined variables in model editor, to change the base interaction change the subtype
(This post was last modified: 08-03-2011, 11:27 PM by Endlvl.)
08-03-2011, 11:21 PM
Find
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#7
RE: Player Movement In Air

If you need the player to be able to move by other means can't you just activate the collide boxes whe you start floating, then disable them when you finish floating?

08-03-2011, 11:36 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#8
RE: Player Movement In Air

(08-03-2011, 11:21 PM)Endlvl Wrote: 2) Also better and more realistic question anyone know how to turn off the grab feature eg to replace it with something else ive been looking through the material and model editors but no dice so far. What separates a holdable entity from a non holdable entity? (its not mass)
////////////////////////////////////
Never Mind bout the 2nd question I GOOOOTTTTTT IT its in user defined variables in model editor, to change the base interaction change the subtype
I think SetEntityInteractionDisabled() would have been the easier, more dynamic, way.

Tutorials: From Noob to Pro
08-04-2011, 12:08 AM
Website Find
Endlvl Offline
Junior Member

Posts: 28
Threads: 4
Joined: Aug 2011
Reputation: 0
#9
RE: Player Movement In Air

(08-03-2011, 11:36 PM)DRedshot Wrote: If you need the player to be able to move by other means can't you just activate the collide boxes whe you start floating, then disable them when you finish floating?

Well actually that would not work because the player is moving through the map based on his control by pushing off other objects

(08-04-2011, 12:08 AM)Your Computer Wrote: I think SetEntityInteractionDisabled() would have been the easier, more dynamic, way.

I tried it but it also disabled other interactions aka if i replaced the basic interaction with my own function neither would work ty anyway

08-04-2011, 10:12 PM
Find




Users browsing this thread: 3 Guest(s)