Mark Lundin

Results 56 issues of Mark Lundin

This library is not compatible with ESM and should be updated to allow importing in ESM Scripts. Something like ```javascript import { init } from 'playcanvas-tween; init(this.entity) this.entity.tween() ```

Scripts components have a `create()` method for instantiating scripts with attributes. ```javascript scripts.create('scriptName', { attributes: { myNum: 1 })` ``` This depends on an attribute schema existing. ESM Scripts use...

area: scripts
enhancement

This PR adds a `properties` field to the `scripts.create(name, { properties })` which is used to assign values onto a script instance _before_ `initialize()` is called. Fixes #6785 I confirm...

Fixes # I confirm I have read the [contributing guidelines](https://github.com/playcanvas/developer.playcanvas.com/blob/main/.github/CONTRIBUTING.md) and signed the [Contributor License Agreement](https://docs.google.com/a/playcanvas.com/forms/d/1Ih69zQfJG-QDLIEpHr6CsaAs6fPORNOVnMv5nuo0cjk/viewform).

This PR adds an additional `@recast-navigation/playcanvas` package that replicates many of the generators and helpers of the three package. The API is mostly the same, with implementation details changing around...

Just wondering if it makes sense to have a prevision specifier here on the key, so that you can collapse nearby vertices? https://github.com/isaac-mason/recast-navigation-js/blob/39ccf74307359b58145923aa454101b632912a08/packages/recast-navigation-three/src/utils/get-positions-and-indices.ts#L59

Hi, I'm on the [PlayCanvas](https://github.com/playcanvas) team. Just wondering if you'd be willing to accept a PR to support PlayCanvas integration?

Swaps the Orbit Camera out for the ESM version. If this get's approved I can generate the equivalent for all the other scripts. There's a bigger discussion on discovery and...

Before you can add a component to an entity, you currently need to register the component system with the app. ```javascript opts.componentSystems = [RenderComponentSystem] const app = new AppBase(canvas); app.init(opts);...

feature request

This PR replaces Babel + Terser with [SWC](https://swc.rs/) which improves the build time of each target. The same ES5 targets are used for UMD build outputs. **With Terser/Babel** ~ 1m40s...