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.
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.
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.