Jump to content

SPS Solid Particle Pivot


jerome
 Share

Recommended Posts

Hi folks,

Here's a new light feature in the SPS : Solid Particle Pivot

It's just a Vector3 (defaut Zero) associated to each solid particle in the SPS. You can set a different value to translate the current particle from its initial local position, then the particle is still rotated around this original point but no longer set on it when rotated. This is the same notion than the Translation Matrix what you could use when defining a Pivot Matrix.

Example : http://jerome.bousquie.fr/BJS/test/spsPivot.html

4000 orbiting tetrahedrons around 4000 rotating boxes ... the whole system also rotating around Y, everything with no complex maths at all, just the usual .rotation properties

PG and documentation coming soon ...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...