mrmaxm
mrmaxm
Asset.type - is not a js type of Asset.resource, nor it is 1:1 match even (text, css, html, types, etc). Nor it has resource available necessarily. We can dance around...
Based on naming conventions been used: `lookAtScreen` should be `lookAtScreen` indeed. But `thisIsABug` should be `thisIsAbug`, as consecutive capital letters should be lower case. Like `HTMLClass`, should be `HtmlClass`, or...
What would be the impact to users in terms of migrations or API changes?
This is amazing! Can we provide a few examples of old-vs-new ways for most common use cases? As I understand, this is fully compatible with the current ScriptComponent system and...
A much bigger optimization many miss is to use `setLocalPosition` instead of `setPosition` where possible.
> * Ammo tri-meshes are cached in the _triMeshCache and don't get removed, causing a leak. This should be implemented using ref counting similarly to how MeshInstance references a Mesh...
Can you please specify which examples and on which platform.
> The usual approach is to attach a collision object to the tip of the fingers. See [xr-hand](https://github.com/playcanvas/engine/blob/main/src/framework/xr/xr-hand.js) for fingers and tips Using collision would not be a generic solution,...
The problem that can happen is when multiple events are triggered within one frame. So timings between these events - should not be relied on in such cases. Also, the...
> @Maksims I suppose such a library would only cover half the use cases. I think the engine would still fire UI button events as soon as those are detected,...