Jump to content

What is the equalivent of object.body.velocity.x -= value for group?


Recommended Posts

Hello everyone,


I am using the following code to change the velocity of something:

object.body.velocity.x -= value;

but I dont know how to achieve the same for group..

objectArr.setAll('body.velocity.x', -value);

^ this will be equalivent to object.body.velocity.x = -value

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...