Moving body
Posted: Mon Sep 02, 2013 5:18 am
I am trying to figure best way to move body (say a vehicle) to different location set from RUBE editor. I can think of two ways
1. change x,y coords in RUBE json before loading into box2d (prob not best option)
2. load box2d and move one of the vehicle body(assuming vehicle contains multiple bodies)? I am not sure best practice to achieve this
Any hints will be greatly appreciated!
Thanks!
1. change x,y coords in RUBE json before loading into box2d (prob not best option)
2. load box2d and move one of the vehicle body(assuming vehicle contains multiple bodies)? I am not sure best practice to achieve this
Any hints will be greatly appreciated!
Thanks!