How To create Trolley?

Hi, I want to create a trolley for my game but i don’t know how i can create a wheel on my object and how i can push this, like this: INSIDE Gameplay Walkthrough (XboxOne) - (FULL GAME) | CenterStrain01 - YouTube

Thanks for your help

Hi K.Dorogan,

You could accomplish this in different ways.

One would be to use a Trolly/Vehicle skeletal mesh similar to our Vehicle Template project. You would basically put the physics asset directly into the level and then push it around with the player.

The other way would be to assemble your own Trolley in an Actor Class Blueprint using Physics Constraints to attach the wheels to the base. This isn’t quite as performant as the skeletal mesh but it would work fine.

Pushing the object is a little trickier. You could just push it by literally walking your character into it. Since both methods above are physics related, setting the mass of the trolley appropriately would allow you to push it around.

The other method is to move it with Physics Handles. This tutorial is a little outdated but it should work in showing you how to set this up.

I hope this info helps.

Cheers,

TJ