Force Vectors

I was looking the Forces and Impulses | Learn PlayCanvas and is there a way to show the arrows of theese vectors? Like an arrow pointing down representing the gravity, other for the movement of an sphere and another one for the friction for example. Like a force diagram.

Hi @Joao_Pedro_Kuhn,

There isn’t any system in PlayCanvas that can automatically visualize forces.

You can though code your own using the app draw line API, for this you will need to calculate the start/end points of your force and impulse vectors and pass them to this method:

1 Like

All right, I think I can handle with it

1 Like