View Full Version : Vertex Position
anasyakoub 02-21-2011, 11:53 AM Hi
I want a simple script that allow me to modify vertex position but not move function
like what we do for a normal obj ( obj.pos.x = 0 ) I want something similar but for vertices
Can you help me on it PLEASE
|
|
DaveWortley
02-21-2011, 12:10 PM
This will work on an editable_poly object.
$.vertices[1].pos = [10,10,10]
anasyakoub
02-22-2011, 11:04 AM
This will work on an editable_poly object.
$.vertices[1].pos = [10,10,10]
thanks for your reply it works good :thumbsup:
but what if I want to apply it on selected vertices
DaveWortley
02-22-2011, 11:19 AM
for o in (polyop.getvertselection $) do $.vertices[o].pos = [0,0,0]
anasyakoub
02-22-2011, 08:17 PM
for o in (polyop.getvertselection $) do $.vertices[o].pos = [0,0,0]
thaaaaaaaaanks alot :thumbsup:
it work very nice and simple
CGTalk Moderation
02-22-2011, 08:17 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.