Hi, I’ve been learning how to use the Playcanvas engine without the editor and I have one small problem that I’m not quite sure about. What do I do if I want to use the Update() method in a ? I’m not sure what to do here and can’t find anything on it.
Hey, If I understand correctly, you want to use engines update method?
In that case you need to use pc.app
event like this:
pc.app.on('update', (dt) => {
console.log('update')
})
Thanks, this worked!
1 Like