Shards632
8 months agoMentor
v209 typescript updates
- some sort of internal reorganization of
HorizonPropertytype with aCachedversion that seems used to caching some bridge call values during the frame - a new
Boundsclass that gives the center, extents, min, max, and size of of a bounding box - new
Entity.getRenderBounds()that returns a world axis aligned bounding box for the visually rendered elements of an entity - new
Entity,getPhysicsBounds()that returns a world axis aligned bounding box for the collider (i.e. physical) bounds of an entity. - notes on
Player.locomotionSpeedbounds of 0-45 m/s - new
WorldInventory.grantItemToPlayer()api that allows you to give a player an IWP (via sku) without them having to purchase it. Great for provisioning up a player's inventory, or giving out freebies for in-game bonuses! - new
WorldInventory.getPlayerEntitlementQuantity()api to find out how many of an IWP item (by sku) a player has. - new
Camera.forceLookAt()api,Camera.stopForceLookAt()api, andCamera.isForceLookAtCameraproperty.- forces the AttachCamera, OrbitCamera, and FollowCamera to temporarily look at a Player, Entity, or position.
- has various transition options like duration, delay, easing, etc.
- lots of documentation updates in the
uimodule.