Jump to content

Set detail attribute in GeometryVOP in a DOP network


Recommended Posts

I'm trying to have a sphere jump at some points in space when it's close to those points. I would like to have for one step of the dop, to have v + = dv_n , where dv_n is a point attribute on a curve that the sphere moves close to. I'm trying to emulate a player pressing a jump button once where the sphere is close to a given point

The logic I'm using is this: in DOP, in Geometry VOP

 // The dv curve has points which have mostly dv=(0,0,0) except at some points where I want the sphere to jump

the curve is connected to Geometry VOP input2

get the near point on the dv curve

import dv_n attribute found on the curve at that point in space

v += dv_n

Doing only this, I get multiple d += dv_n depending on v.

I'm trying to have an array which stores the points which have already been used so that I can ignore them for some time or forever.

I'm not sure where the integer array should be stored though

dop.png

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...