Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Constrain particles on axis
#13
(22-02-2019, 03:46 PM)josemendez Wrote: Sorry, but I don't fully understand the question.
If you're asking whether a transform has a "velocity" property, no it doesn't. A transform is composed of position, rotation and scale. No velocity or other physical attributes whatsoever.

Particles in Obi are not transforms either. They're just an index, that can be used to access their position, velocity, mass, etc. See:
http://obi.virtualmethodstudio.com/tutor...icles.html

I had to explain more. In the link you showed me has a code void Slide(Transform target, Vector3 railDirection) although the template is public static Vector3 Project(Vector3 vectorVector3 onNormal);, and you said "Using Vector3.Project or Vector.ProjectOnPlane to constraint a velocity vector". So I asked that question.

I try to move some particle by transform, too. Obi's velocity is moved by vector?
Reply


Messages In This Thread
Constrain particles on axis - by Richard - 22-02-2019, 09:38 AM
RE: Constrain particles on axis - by josemendez - 22-02-2019, 10:37 AM
RE: Constrain particles on axis - by Richard - 22-02-2019, 11:08 AM
RE: Constrain particles on axis - by josemendez - 22-02-2019, 11:27 AM
RE: Constrain particles on axis - by Richard - 22-02-2019, 12:22 PM
RE: Constrain particles on axis - by josemendez - 22-02-2019, 12:57 PM
RE: Constrain particles on axis - by Richard - 22-02-2019, 01:22 PM
RE: Constrain particles on axis - by josemendez - 22-02-2019, 02:02 PM
RE: Constrain particles on axis - by Richard - 22-02-2019, 02:49 PM
RE: Constrain particles on axis - by josemendez - 22-02-2019, 03:01 PM
RE: Constrain particles on axis - by Richard - 22-02-2019, 03:31 PM
RE: Constrain particles on axis - by josemendez - 22-02-2019, 03:46 PM
RE: Constrain particles on axis - by Richard - 22-02-2019, 03:55 PM
RE: Constrain particles on axis - by josemendez - 22-02-2019, 06:44 PM
RE: Constrain particles on axis - by Richard - 22-02-2019, 11:35 PM