Hi,
Please take a look at the scripting reference
and checkout the PhysicsPlayground sample (the Cannon.ts script in particular)
See the reply in the discord Discord
please donβt ask the same question multiple times in multiple locations (discord and forum)