s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
PhysicsShape
UpdatePlane
chevron_left Classes
class
PhysicsShape

Properties

data_objectBodydata_objectCapsuledata_objectColliderdata_objectEnableSolidCollisionsdata_objectEnableTouchdata_objectEnableTouchPersistsdata_objectFrictiondata_objectIsCapsuleShapedata_objectIsHeightfieldShapedata_objectIsHullShapedata_objectIsMeshShapedata_objectIsSphereShapedata_objectIsTriggerdata_objectIsValidremove_circleScaledata_objectSpheredata_objectSurfacedata_objectSurfaceMaterialdata_objectSurfacesdata_objectSurfaceVelocitydata_objectTags

Methods

remove_circleAddTagremove_circleClearTagsfunctionsDisableAllCollisionfunctionsEnableAllCollisionremove_circleHasTagfunctionsRemoveremove_circleRemoveTagfunctionsTriangulatefunctionsUpdateHullfunctionsUpdateMeshfunctionsUpdatePlane
UpdatePlane
Update a plane shape's center, rotation and size.
method
void UpdatePlane (Vector3 center, Rotation rotation, Vector2 size)

Parameters

NameTypeDescription
center Vector3
rotation Rotation
size Vector2
Declared in Sandbox.PhysicsShape ยท Assembly Sandbox.Engine
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