Pressure Plate Setup
Pressure Plate Hierarchy Setup
(Parent) Pressure Plate GameObject
Box Collider attached
Pressure Plate Script
(Child) Plate Model
(Child) In my example I have the light sphere which games when activated
Pressure Plate Component Settings
Add: Box collider is set to IS TRIGGER (Make sure this trigger is in the area where you want to trigger to happen, so you may need to move it around and scale it)
Pressure Plate settings below:
Visual Settings
Plate Visual: The plate model that will move when you put an object on it. (Usually a child of the pressure plate
Pressed Offset: How far it will move when the object is applied, to create a sense of weight on the plate
Move Speed: How fast this should move when a weight is added to it
Activiation Weight
The weight of the rigidbody of a GrabbableObject
Pressure Plate Audio
These are the audio effects you can use when you press or release the pressure plate
OnPlateActivated / OnPlateDeactivated
This is a custom event that you can do when the pressure plate is activate
Last updated