Page 1 of 1
Glue objects
Posted: 03 Mar 2020, 14:41
by sampits
Hello, i´m doing a project where i create a frame of a table with different objects(cuboids)as seen in the image:
https://gyazo.com/9d6b4e8d793ea978406097eeab3193a4
Now after i create this frame i want to pick it up all togheter but obviously they are all diferent objects so i can´t do that.
Is there a way for me to link/glue then so when i pick on the center everything come togheter?
Re: Glue objects
Posted: 03 Mar 2020, 15:46
by fferri
Shapes can be grouped:
Two or more simple shapes or compound shapes can however be grouped ([Menu bar --> Edit --> Grouping/Merging --> Group selected shapes]) or ungrouped ([Menu bar --> Edit --> Grouping/Merging --> Ungroup selected shapes]).
Re: Glue objects
Posted: 03 Mar 2020, 16:02
by sampits
fferri wrote: ↑03 Mar 2020, 15:46
Shapes can be grouped:
Two or more simple shapes or compound shapes can however be grouped ([Menu bar --> Edit --> Grouping/Merging --> Group selected shapes]) or ungrouped ([Menu bar --> Edit --> Grouping/Merging --> Ungroup selected shapes]).
I only create the shapes after the simulation starts, is there a way to group the objects mid simulation without my interferance( some kind of function that groups object)?
Re: Glue objects
Posted: 03 Mar 2020, 18:18
by fferri
Re: Glue objects
Posted: 04 Mar 2020, 07:59
by coppelia
otherwise you can always attach them together via:
- simple parent-child relationship if the shapes are not dynamically enabled. You can then manipulate all shapes together by manipulating the parent of them
- via force/torque sensors if shapes are dynamically enabled
Cheers
Re: Glue objects
Posted: 04 Mar 2020, 11:13
by sampits
Its done thank you :)
used the sim.groupShapes