OilDrum
A cylindrical physics prop. Uses a cylinder collision shape and heightened bounciness.
Universal Inputs
These inputs are available on every entity in the engine, not just this one.
Name Parameter Description
GetValue String Reads the named exposed value from this entity and injects it into the pass variable pool. See Advanced Outputs for details. AddVelocity x,y,z Adds the given vector to the entity's current velocity. SetVelocity x,y,z Sets the entity's velocity to the given vector, discarding any current velocity. SetPosition x,y,z Teleports the entity to the given world position. SetScale x,y,z Sets the entity's scale. SetRotation x,y,z Sets the entity's rotation from Euler angles in degrees. AddImpulse x,y,z Applies an instantaneous physics impulse to the entity. Destroy — Despawns this entity on the next frame. Notes
OilDrum is a physics prop from the FPS template. It uses BasePhysicsProp as its controller and a Cylinder physics shape, which allows it to roll along the ground more naturally than a box-shaped collision shape. The higher physicsRestitution value gives it a satisfying bounce on impact.
Like Crate, it responds to bullet hits with a directional impulse and spawns dust particles on collision.
This is a template entity — defined in FPSTemplate/Entities/OilDrum.cs, free to modify.