listActions
Platform Compatibility PC Mac OSX Oculus Quest X X X Check what collision actions we have returns a String (text) value Example: 1obj.listActions()
McMaster University Virtual Reality Simulation and Research
Articles for coding in Artspark
Platform Compatibility PC Mac OSX Oculus Quest X X X Check what collision actions we have returns a String (text) value Example: 1obj.listActions()
Platform Compatibility PC Mac OSX Oculus Quest X X X Get the script of an action Parameters: name A string value returns a String (text) value Example: 1obj.actionScript(name)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set the script of an action Parameters: name A string value script A string value Example: 1obj.setActionScript(name, script)
Platform Compatibility PC Mac OSX Oculus Quest X X X Does this affect ourselves? Parameters: name A string value returns a Boolean (true or false) value Example: 1obj.actionAffectsSelf(name)
Platform Compatibility PC Mac OSX Oculus Quest X X X Does this run on trigger? Parameters: name A string value returns a Boolean (true or false) value Example: 1obj.actionOnTrigger(name)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set action to run script on self or other? Parameters: name A string value _tf A boolean value Example: 1obj.setActionAffectsSelf(name, _tf)
Platform Compatibility PC Mac OSX Oculus Quest X X X Set an action to run as trigger? Parameters: name A string value _tf A boolean value Example: 1obj.setActionOnTrigger(name, _tf)
Platform Compatibility PC Mac OSX Oculus Quest X X X Remove tag from an action Parameters: name A string value tag A string value Example: 1obj.removeActionTag(name, tag)
Platform Compatibility PC Mac OSX Oculus Quest X X X Add tag to an action Parameters: name A string value tag A string value Example: 1obj.addActionTag(name, tag)
Platform Compatibility PC Mac OSX Oculus Quest X X X Delete action Parameters: name A string value Example: 1obj.deleteAction(name)