x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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: https://youtu.be/vPcolQbesz4?t=8m16s

Thanks for your help

Product Version: UE 4.13
Tags:
more ▼

asked Oct 11 '16 at 05:17 PM in Blueprint Scripting

avatar image

K.Dorogan
21 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

more ▼

answered Oct 11 '16 at 08:30 PM

avatar image

TJ V ♦♦ STAFF
41k 1009 183 494

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question