Jump to content

Character set input strafe.


Recommended Posts

This is in response to an earlier post where you stated you didn't understand what I meant but I can no longer reply so Ill explain here.

 

Using the set input command to control the movements of an object you have angle,move,strafe. When you use all 3 parameters you get this:

 

'angle' works fine and when you 'move' it moves forward in the relative direction, but when you 'strafe' it does it not move to the side. It moves in all angles depending on the angle you are at.

 

Andy

 

The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do.

 

Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d

Link to comment
Share on other sites

If so, its the maths formulas that are in the character contoller that are out of our control, hence its a bug.

 

Its quite simple to replicate, drop in an object, make it a character, assign a script with WASD movement using SetInput function (move and strafe) then assign the left right keys to alter the angle parameter and watch what happens when you try to strafe after moving around.

 

Andy

The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do.

 

Leadwerks Game-Ready 3D Models:https://sellfy.com/gib3d

Link to comment
Share on other sites

  • 1 month later...
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...