So I was gonna learn rooms2 by starting with basic gun but the clamp doesn’t exist in rooms2 so I’m kinda stuck. Again I’m completely new to rooms2 so if someone can help that’d be great, Thanks :3
RoomsV2 doesn’t need clamps due to the new Object Model / Hierarchy
RoomsV2 was designed to be more like Unity. This means we now have a Hierarchy in RecRoom. You can “Clamp” ObjectA to ObjectB by making ObjectB a parent of ObjectA
Its still a little bit complicated because of things like Shapes and Components not being able to have children, instead you need to put them in a Container, but it still should be as simple as going to your makerpen menu and then Hierarchy
and then dragging A into B to make A a child of B
You can also use your Connect / Wire
tool to parent A to B (I don’t remember which one becomes the parent when doing this). I believe this creates a container automatically, but if it doesnt, you should be able to use the select menu to create a container for the selected object(s)
Ok yes but what I’m trying to do is connect a trigger handle to a basic placeholder model
Then your hierarchy needs to look like this:
- Container
- Trigger Handle (Trigger Handle)
- Basic Placeholder Model (Shape)
When you make the Trigger Handle a child of a container, its like the entire container becomes a trigger handle, like if you were in unity and added a Trigger Handle
component to an object
This means when the player grabs the container, it will pickup from the Trigger Handle and the trigger handle can still receive events
As the Basic Placeholder Model
is a child of the container, it will move, rotate, and scale with the container
Alright thanks alot for the help have a great day/or night
That is so much more complicated than a simple clamp
Clamps dont exist in Rooms V2, and, in Rv1, clamps are the exact same thing
With a clamp, your pseudo-hiearchy just looks like this:
- Object clamp is connected to
- Clamp
- Object(s) that are connected to the Clamp
As you can see, its the exact same thing, except Rooms V1 doesn’t have a hierarchy/object model, so its harder to visualize object parents/children
The only reason what I said sounds more complicated is because I haven’t used the current Rv2 in a very long time, so I’m not 100% sure how to create containers