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"

Help With a Cooking Game: Collision/Physics

I'm trying to put together a cooking game and I'm presently looking into moving around a pan with items in it. Though part of the problem seems to be I can't get collision to work properly as thing fall through the pan when the pan moves (Presumably because my pan is moving to fast) Attached is a short clip of what it looks like right now as well as the basic blueprint I'm using to move the pan around.

https://youtu.be/cdMG6EqsomA

My "Trace for Move" function traces a line from camera to the area under the cursor which returns a vector location I add 20 to on the z axis and then set my objects location to this vector every tick. I've tried doing a a v interp but this doesnt fix the collision issue and creates a number of other problems. Simply translating the pan actor in the editor seems to create the exact effect I want where the food in the pan nicely moves along with the pan but I don't know how to replicate that movement.

alt text

Any ideas on how to improve this system without radically redesigning the gameplay (The idea being to work on mobile/pc with touch/ click and drag controls) would be most appreciated.

Product Version: UE 4.21
Tags:
blp.png (324.2 kB)
more ▼

asked Feb 10 '19 at 11:10 PM in Blueprint Scripting

avatar image

MercJones
6 1 1 2

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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