Training Stream - Tank Vehicle - March 17th, 2015

For everyone who can’t get collisions to work on your tank; here’s what you have to do:

  • Make sure you have collisions set up for yor tank
  • In your tank blueprint, make sure to enable physics and collisions

Now, if you did all of that, youll notice your tank collides to objects and is effected by gravity, but now it doesn’t move or rotate. Lets fix that.

  • Replace the “AddActorLocalOffset” with “AddLocalOffset” of your tank’s hull. (Mine was: “AddLocalOffset (Hull)”)
  • Replace the “AddActorLocalRotation” with “AddLocalRotation” of your tank’s Hull

And now your tank should drive and collide. Cheers!