• News
  • Learn
  • Sign Up
  • Log In
    • See Tags...
    LOG INTO VESTA

    Username

    Password

    Forgot Password?

    Reset Volume

    by guide
    0 Likes
    Clone

    The Room attribute "reset_volume" defines a volume where if the user enters it, they are brought back to the entrance of the room. This is most commonly used to reset a user who has "fallen" from the geometry of the room and needs to be reset. It is defined by two 3D endpoints of a cuboid/axis-aligned bounding box. The default value effectively acts as an infinite volume below y=-100, so for Rooms where the user is expected to go below this y value, the reset volume should be redefined accordingly.

    reset_volume - (default "-FLT_MAX -FLT_MAX -FLT_MAX FLT_MAX -100.0f FLT_MAX", where FLT_MAX is the largest representable floating point value) Set the endpoints of two opposite corners of the reset volume (an axis-aligned bounding box with format "x0 y0 z0 x1 y1 z1").

    An example which users corner points (-1000,-500,-1000) and (1000,0,1000):

    http://janusvr.com/docs/build/roomtag/index.html#Room

    2062 viewsPosted

    Suggested

    Lut Gholein - Volumetric Fight by bai

    Quadcopter by guide

    Forgotten Shrine by Spyduck

    clickball2 by guide

    Create Destroy by guide

    Desk.com Helpdesk 832 by benlm

    Comments

    0/280

    Message

    Embed Webspace

    Copy embed HTML:

    Report Webspace

    Please read the Community Guidelines page if you have questions about reporting.
    The reason for reporting this webspace:

    NSFW Content Warning

    You must be logged in, with NSFW Content enabled in your Account Settings to view this webspace.

    You may create a free account here