Post

Replies

Boosts

Views

Activity

Comment on SceneKit custom physics fields using wrong position?
Thank you, Greg, for confirming I wasn't pushing the wrong button somewhere. Regarding the workaround, I can see how this code would work in a closure (with access to ballNode). However – as you may imagine – my actual physics simulator is a bit more complicated and stored in a separate file. I'm guessing there is no way to access the node's attributes when the customField calculations are in a method located elsewhere?
1w