QcMinecartBody Namespace
The body of a minecart (decision E-382), the same for the server (collisions, pistons, riders) and the client (targeting, drawing, the rider's view). More...
| Header: | #include <common/world/QcMinecartBody.h> |
Variables
| const double | height |
| const double | seatOffset |
| const double | width |
Detailed Description
Lengths in metres, from the cart's feet (the middle of its bottom face, on the rail).
Variable Documentation
const double QcMinecartBody::height
Height of the box.
const double QcMinecartBody::seatOffset
A rider's feet lie this far below the cart's: the rider sits with the legs forward (the hips at the usual hip height above the feet), so the hips rest on the cart's floor.
const double QcMinecartBody::width
Width and depth of the box.