Rotating objects on their own axis
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-12-10
11:02 AM
- last edited on
2022-09-29
09:51 AM
by
Daniel Kassai
2019-12-10
11:02 AM
Hi,
I want to write a function that rotates the selected elements in the same angle, but each on their own axis of rotation.
I tried iterating through each of the api_neigs of the selected elements, and getting their corresponding element instance, from which i take the objects position. It seemed to work alright
The problem is i can't get them to rotate, each on on a different pivot. The edit function doesn't work when i try to insert each to a new neig array. Maybe i didn't instantiate the arrays correctly.
Could someone help?
Thanks a lot!!!
I want to write a function that rotates the selected elements in the same angle, but each on their own axis of rotation.
I tried iterating through each of the api_neigs of the selected elements, and getting their corresponding element instance, from which i take the objects position. It seemed to work alright
The problem is i can't get them to rotate, each on on a different pivot. The edit function doesn't work when i try to insert each to a new neig array. Maybe i didn't instantiate the arrays correctly.
Could someone help?
Thanks a lot!!!
Labels:
- Labels:
-
Add-On (C++)
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-12-10 12:15 PM
2019-12-10
12:15 PM
Sorry, which rotation function are you trying to use? Do you have some sample code to illustrate what you're trying to do?
Ralph Wessel BArch
Central Innovation
Central Innovation