A rectangular block. Useful for building barriers or nudging balls around.
<ball name="RectHead" shape="rectangle,200,50" walkforce="0" mass="600" towermass="200" dragmass="100" autodisable="true" strands="0" walkspeed="0.1" climbspeed="2.0" speedvariance="0.2" detachable="true" blinkcolor="0,0,0" hideeyes="false" alwayslookatmouse="true" jump="0.0,0.0" collideattached="true" material="BlockBall" hingedrag="true" attenuationselect="0, 1" attenuationdeselect="0, 1" attenuationdrop="0, 1" attenuationdrag="0, 1" stacking="true" collidewithattached="true" suckable="false" > <marker drag="IMAGE_BALL_RECTHEAD_DRAGMARKER" detach="IMAGE_BALL_RECTHEAD_DRAGMARKER" rotspeed="-2"/> <shadow image="IMAGE_BALL_RECTHEAD_SHADOW"/> <particles id="sleepyZzz" states="sleeping" overball="true" /> <splat image="IMAGE_FX_SMOKEBLACK"/> <part name="body" layer="0" rotate="true" x="0" y="0" image="IMAGE_BALL_RECTHEAD_BODY1,IMAGE_BALL_RECTHEAD_BODY2" scale="0.82" /> <part name="lefteye" layer="2" rotate="true" eye="true" pupil="IMAGE_BALL_GENERIC_PUPIL1" pupilinset="13" x="-40,-30" y="-5,5" xrange="-18,0" yrange="-12,12" image="IMAGE_BALL_RECTHEAD_EYE,IMAGE_BALL_RECTHEAD_EYE2" state="climbing,walking,falling,dragging,detaching,standing,tank" scale="0.75" /> <!-- Sound FX --> <sound event="marker" id="SOUND_BALL_GENERIC_ROLLOVER1,SOUND_BALL_GENERIC_ROLLOVER2,SOUND_BALL_GENERIC_ROLLOVER3,SOUND_BALL_GENERIC_ROLLOVER4,SOUND_BALL_GENERIC_ROLLOVER5,SOUND_BALL_GENERIC_ROLLOVER6,SOUND_BALL_GENERIC_ROLLOVER7,SOUND_BALL_GENERIC_ROLLOVER8"/> <sound event="pickup" id="SOUND_BALL_GENERIC_STICK1,SOUND_BALL_GENERIC_STICK2,SOUND_BALL_GENERIC_STICK3,SOUND_BALL_GENERIC_STICK4,SOUND_BALL_GENERIC_STICK5,SOUND_BALL_GENERIC_STICK6"/> <sound event="drop" id="SOUND_BALL_GENERIC_STICK1,SOUND_BALL_GENERIC_STICK2,SOUND_BALL_GENERIC_STICK3,SOUND_BALL_GENERIC_STICK4,SOUND_BALL_GENERIC_STICK5,SOUND_BALL_GENERIC_STICK6"/> <sound event="throw" id="SOUND_BALL_GENERIC_STICK1,SOUND_BALL_GENERIC_STICK2,SOUND_BALL_GENERIC_STICK3,SOUND_BALL_GENERIC_STICK4,SOUND_BALL_GENERIC_STICK5,SOUND_BALL_GENERIC_STICK6"/> <sound event="bounce" id="SOUND_BALL_GENERIC_BOUNCE1,SOUND_BALL_GENERIC_BOUNCE2,SOUND_BALL_GENERIC_BOUNCE3,SOUND_BALL_GENERIC_BOUNCE4"/> <sound event="land" id="SOUND_BALL_GENERIC_STICK1,SOUND_BALL_GENERIC_STICK2,SOUND_BALL_GENERIC_STICK3,SOUND_BALL_GENERIC_STICK4,SOUND_BALL_GENERIC_STICK5,SOUND_BALL_GENERIC_STICK6"/> <sound event="death" id="SOUND_BALL_RECTHEAD_BREAK01,SOUND_BALL_RECTHEAD_BREAK02,SOUND_BALL_RECTHEAD_BREAK03"/> <sound event="collidegeom" id="SOUND_BALL_RECTHEAD_BUMP01,SOUND_BALL_RECTHEAD_BUMP02,SOUND_BALL_RECTHEAD_BUMP03,SOUND_BALL_RECTHEAD_BUMP04,SOUND_BALL_RECTHEAD_BUMP05,SOUND_BALL_RECTHEAD_BUMP06"/> <sound event="collidesame" id="SOUND_BALL_RECTHEAD_BUMP01,SOUND_BALL_RECTHEAD_BUMP02,SOUND_BALL_RECTHEAD_BUMP03,SOUND_BALL_RECTHEAD_BUMP04,SOUND_BALL_RECTHEAD_BUMP05,SOUND_BALL_RECTHEAD_BUMP06"/> <sound event="collidediff" id="SOUND_BALL_RECTHEAD_BUMP01,SOUND_BALL_RECTHEAD_BUMP02,SOUND_BALL_RECTHEAD_BUMP03,SOUND_BALL_RECTHEAD_BUMP04,SOUND_BALL_RECTHEAD_BUMP05,SOUND_BALL_RECTHEAD_BUMP06"/> </ball>