s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejams

Game Jam III

Starts Fri 4 Sep
Theme

Theme revealed when the jam starts.

£50,000
prizepool
Read more
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
GameTransform
chevron_left Classes
class
GameTransform

Fields

crop_dinOnTransformChanged

Properties

data_objectGameObjectdata_objectInterpolatedLocaldata_objectLocalremove_circleLocalPositionremove_circleLocalRotationremove_circleLocalScaleremove_circlePositiondata_objectProxyremove_circleRotationremove_circleScaledata_objectWorld

Methods

functionsClearInterpolationremove_circleClearLerpfunctionsDisableProxyfunctionsLerpTo
GameTransform
class Sandbox .
Sandbox.Engine

crop_din Fields 1

OnTransformChanged
Action
Called when the transform is changed

data_object Properties 11

GameObject
GameObject
InterpolatedLocal
Transform
The current interpolated local transform.
Local
Transform
The current local transform.
LocalPosition
obsoleteVector3
Position in local coordinates.
LocalRotation
obsoleteRotation
Rotation in local coordinates.
LocalScale
obsoleteVector3
Scale in local coordinates.
Position
obsoleteVector3
The position in world coordinates.
Proxy
TransformProxy
Rotation
obsoleteRotation
The rotation in world coordinates.
Scale
obsoleteVector3
The scale in world coordinates.
World
Transform
The current world transform.

functions Methods 4

ClearInterpolation ()
Clear any interpolation and force us to reach our final destination immediately. If we own this object we'll tell other clients to clear interpolation too when they receive the next network update from us.
ClearLerp ()
obsolete
DisableProxy ()
IDisposable
Disable the proxy temporarily
LerpTo (target, frac)
Performs linear interpolation between this and the given transform.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter