Jump to content

Custom Normal Rotation


PalTopin

Recommended Posts

I have a popnet creating some particles with the POP spin, to have a random rotation in each particle, also Im copying a tube in each particle, the tube rotates as it supposed to, but when they hit the ground, the tubes stays with a random rotation as well instead of pointing Y.

I'm thinking that if I use the normals instead of the POP spin I could blend between the N0 and N1 when the particle hit the ground, using the hit info from the POPnet, but truthfully I don't know how to achieve this .-.

I'm using POPs and copy the tubes/coins to the particles because the particles born magicaly from the floor after a character hit the floor with his cane.

If anyone could help me or have any idea I would appreciate it!!!

help.png

Link to comment
Share on other sites

Hi PalTopin, if you wanna stick with the popSpin, it's possible use Velocity as second orientation attribute to blend with the "orient" created by the popSpin, copySop is able to recognize v too and using it for maintaining the orientation along the velocity vector if the orient it's setted to zero near the collision moment. I've attached two hip file with blending orientation examples between "@v" and "@orient" using popSpin for make rotations and @hit attributes for trigger the blend.., one contains a small variation just in cause the particle source it's pretty close to the ground, for avoid that the blending condition could affect the initial rotations.

hope it helps! :)

Cheers,
Dam

 

custom_instance_orientation_bornFromGround_EXAMPLE.hipnc

custom_instance_orientation_EXAMPLE.hipnc

custom_instance_orientation_bornFromGround_bounceVariation_EXAMPLE.hipnc

Edited by Dam
  • Like 2
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.

×
×
  • Create New...