VR Realms
Discord Play free

Things to add

Grabbables

Any mesh of yours can be a thing players pick up, throw and hand to each other: a cup, a ball, a tool, a prop from a store pack. One tick, no Blueprint.

  1. Drag the mesh from your Content Browser into the level. Unreal places it as a Static Mesh Actor.
  2. Select it. In Details find VR Realms and tick Grabbable.
  3. Optional: set Hands, Physics and Weight in the rows that appear (below).

In the game it is a physics prop for everyone in the world. Select many meshes at once and tick Grabbable once for all of them. Typing the Actor Tag VRGrab by hand does the same.

A plain Static Mesh Actor with Grabbable ticked
With Grabbable ticked, the Hands, Physics and Weight rows appear under it.
One mesh per grabbable. Tick a single Static Mesh Actor, not a Blueprint. For a thing made of several parts, merge the actors first.

Grab options

SettingOptionsWhat it does
HandsOne hand / Two handsTwo hands allows a second grip. It does not require it. It steadies long things.
PhysicsFalls / Stays / FloatsA normal prop, a prop that stays on its shelf, or no gravity.
WeightLight 0.5 kg / Normal / Heavy 25 kgNormal uses the mesh’s own mass. The others replace it.

The tags behind them can be combined, for example VRGrab.TwoHand with VRGrab.Heavy. Upper and lower case do not matter. If a thing is both Heavy and Light, Heavy wins.

An item is not a grabbable. On a thing that has an Item, the grab settings are ignored: each item already behaves the way it should. Set Item to None to make the mesh grabbable.

Returns to its spot

Tick Returns to its spot and the prop goes back to where you placed it when players leave it somewhere else. Once it has been away from its spot, with nobody holding it, for the time you set, it dissolves and comes back in place. Everyone in the world sees it happen.

  • After (seconds) sets the wait. 60 is normal. Anything from 5 seconds to an hour works.
  • Picking it up starts the clock again, so it never vanishes out of a hand.
  • Good for drinks, tools, balls and anything that should not end up all over your map.

The tag it writes is VRReturn, or VRReturn.120 for a time of your own. This is not the same as Returns to a home, the game mode setting that sends a ball back to its Ball home.

Held in hand

Tick Held in hand on a grabbable that should sit in the hand a certain way: a fishing rod, a torch, a tool. You place it once in the editor and the game holds it there. The game uses your grip for desktop players. VR players grab the thing the usual way.

  1. Tick Preview. If the kit asks for one, pick a Preview body: any skeletal mesh with hand_r and hand_l bones, your own avatar included.
  2. The body stands beside your thing with a copy of it in its hand. Move and turn the copy until it sits right. Your own thing in the level does not move.
  3. The grip is saved each time you let go of the copy. Untick Preview when you are done. The body and the copy are never saved with the level.
SettingWhat it does
HandRight hand, left hand or either. Changing the hand mirrors the grip you placed. Either is held in the right hand for now.
Hold animationOptional. The pose the thing is held in. The preview body takes it, and a desktop player holding the thing plays it while standing still.
Clip time (seconds)Shows any moment of the Hold animation on the preview body, so you can place the thing in the pose that matters.
Start againForgets the grip. The next Preview starts with the middle of the thing in the hand.

A Hold animation, and the skeleton it was made on, must be inside your map’s folder. The pak holds only that folder, so a clip that lives anywhere else does not reach the game.

In the game a desktop player presses E on the prop and it goes into the hand at your grip. E again puts it down.

Collision

A mesh needs collision to be thrown or to fall. No collision means no physics. Open the Static Mesh and add Simple Collision.

← Things to add

Found a bug with the docs? Click here to report it →Report a docs bug →