ios - How do I rotate a node in scenekit based on the current camera angle -


i'm working on project want able use uipangesture rotate node based on current rotation of camera. example, user looking @ geometry attached node , decides rotate it. normally, geometry rotation based on (0, 0, 0) or (0, 0, 0, 0), able rotate along y axis y axis axis perpendicular camera angle, thereby treating whatever camera angle (0, 0, 0, 0). original solution rotate pivot point match camera angle, i'm not seeing in scenekit documentation allows me rotate pivot point @ all, i'm bit lost. advice on issue appreciated. ^_^


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -