BabylonJS / Documentation

Babylon.js's documentation website
https://doc.babylonjs.com
Apache License 2.0
78 stars 234 forks source link

Update migrateFromV1.md for extra startsAsleep param in PhysicsBody #1156

Closed vtange closed 3 months ago

vtange commented 3 months ago

https://doc.babylonjs.com/typedoc/classes/BABYLON.PhysicsBody

When I followed this tutorial I ended up with "cannot find property setShape of undefined' error, where undefined is the havok physicsPlugin due to it being not found in the provided scene. The tutorial puts Scene as the param where a bool startsAsleep is, causing scene to be undefined. Not having a scene param was also a silent fail, which I'm not sure if is intended or not

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 26, 2024 6:49pm