Announcement

Collapse
No announcement yet.

Get world velocity?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    I'm not at a computer to try this but say you run a tick on this

    Tick - self get world location set locationA delay 1sec, self get world location set locationB ... LocationA-LocationB -length

    This should return your velocity per second?

    Leave a comment:


  • replied
    Let's go a step further. If they are standing still and your getting velocity. To what means are you using it for? Velocity is relative like a parked car on the earth is going pretty fast but says zero mph

    Leave a comment:


  • replied
    Its normal, when your character is standing on a flying thing, if your character dont move, its velocity will be 0. I think u should get velocity of the moving platform instead of the character.

    Leave a comment:


  • replied
    I think you want to use the node called "Get Velocity".

    Click image for larger version

Name:	9f90583c19164b55b837be55ccf5f8f6.png
Views:	1
Size:	75.8 KB
ID:	1125210

    Should work with paper 2d too.

    Hope it helps.

    Leave a comment:


  • started a topic Get world velocity?

    Get world velocity?

    Is there such a thing as 'get world velocity' of a pawn?

    If my e.g paper2d character stands on a moving platform 'get velocity' will return [0,0,0] which is obviously not its world velocity, and I can't find anything that'll give me this data.

    Does anyone know of an easy way to get this? Or if it's not easily accessible? Or a hard way to get it?

    Thanks.
Working...
X