Jump to content

[Pyro] animated constainer, bounds from object level


Juzwa

Recommended Posts

Hi, 

 

1) How do I take the bounds of the moving object and use them as a constainer for my sim? "bbox("/obj/myObj", D_XSIZE)" does not work

 

2) How do I make pyro to calculate the movement of the container properly? What I mean is that the object is moving and I need just the bounds close to the object to calculate. Does appropriate applying the bounds do the trick? (i guess not)

Edited by Juzwa
Link to comment
Share on other sites

1) Object nodes have no specific geometry, only SOP nodes do. The data for an Object node is a world transform (4x4 matrix). Instead, a common convention is to use a Null SOP named OUT as the node to render/display inside an object. So you then would do "bbox("/obj/myObj/OUT", D_XSIZE)"

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