Code Monkey home page Code Monkey logo

Comments (5)

Deledrius avatar Deledrius commented on June 12, 2024

If we can do it as a version-specific export step, that sounds like the best option. Otherwise it will be forgotten in new features and cause future bugs.

from korman.

Hoikas avatar Hoikas commented on June 12, 2024

Any preference for applying the mass/pin hack or transforming everything to worldspace?

from korman.

Jrius avatar Jrius commented on June 12, 2024

As far as I know, both usually work fine.
Obviously moving objects need to have mass and kPinned, but transforming everything to world space can (theoretically) yield slightly better performances for static meshes.
From Cyan's PRP it seems the preferred behavior is no mass for regular colliders, no mass and kPinned for exclude regions, and mass+kPinned for kickables and detectors (except exclude regions).
Animated colliders (for instance, subworlds) have the kPhysAnim flag. Kickables don't.
I have followed these rules when fixing Myst V logic on Complete Chronicles, always worked as expected. (The only exception being in Laki's Maze, when a physical object was parented to a ViewFaceModifier, but that's asking for trouble.)

from korman.

Deledrius avatar Deledrius commented on June 12, 2024

I'd say the safest bet for predictability and compatibility would be to follow that pattern then.

from korman.

Hoikas avatar Hoikas commented on June 12, 2024

The current approach is to transform physicals into worldspace if the scene object does not have a coordinate interface.

from korman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.