Set position of primitive in attribute wrangle

   6850   2   2
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
Hi
I have a grid and an attribute wrangle set to Primitives:
printf(“%g”, @P);
@P = set(0,0,0);
I can print P but i can't set it. Is there an other way to set the position of a primitive other looping through it's points?
Any help appreciated.

-b

Attachments:
primitive_pos.hipnc (60.5 KB)

http://www.racecar.no [www.racecar.no]
User Avatar
Member
1743 posts
Joined: May 2006
Offline
You can't directly, prim P is read only.

Here's a tricky way to do it though:

http://forums.odforce.net/topic/24429-manipulate-on-a-primitive-level/?p=143297 [forums.odforce.net]
http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
That's clever! Thanks a lot.

-b
http://www.racecar.no [www.racecar.no]
  • Quick Links