[Scenekit]Create a box, move it and make it affected by gravity


First post, hopefully posted in the right place.

I want to create (in this case) a box, and then move it across a plane to the end of the plane and then have it fall down. Everything works except the moving and falling down part.

If I create a box in the scene editor I can make it move, but once it’s off the plane it does not fall down.

If I create a box in code, it spawns with viewdidload and falls down, but I cannot make it move. I’ve tried creating a functions which runs during updateAtTime, but it does not move the box.

Can someone help me? :slight_smile:

@ull1s Do you still have issues with this?

Nah I reckon I solved it :slight_smile:

This topic was automatically closed after 166 days. New replies are no longer allowed.