Moving object in steps
-
Let's say if first move an object (by translation) by 3 according to the z-axis (so 3 metres higher)
Later on I want to move it to 5. In a translation that would be a move of 2Is it possible to set the position in z instead of doing translations?
Or can i reset/remove the previous translation and do a new translation?
Hope this makes sense.
Regards
-
some extra info:
it's a section plane i try to move -
Is all done in one operation?
"object" - you mean any Entity or a Group or ComponentInstance? With Groups and ComponentInstances you can get and set the transformation matrix,
.transformationand.transformation=where you could manipulate the Z position if you like. -
You're transforming it with transform_by_vector, right?
-
Thomthom, different operations
So there can be other commands in between.
With the object I mean a section plane
So I'll need to use transform_entities or transform_by_vector -
i got it, will post solution later
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement