OBB 3D Visualizer
OBB 3D Visualizer
Section titled “OBB 3D Visualizer”Visualize OBB (Oriented Bounding Box) shapes in real-time 3D to understand how they work before using them in attacks.
Interactive Visualizer
Section titled “Interactive Visualizer”Open OBB Visualizer (Full Screen) →
The OBB Visualizer provides a 3D WebGL preview of Oriented Bounding Box shapes and positioning for designing attack hitboxes.
How to Use
Section titled “How to Use”Shape Selection
Section titled “Shape Selection”Choose from 6 OBB shapes:
- SPHERE - Ball-shaped, perfect for explosions
- CONE - Cone pointing forward, for breath attacks
- CYLINDER - Cylinder along forward axis, for lightning/beams
- ARC - 180° arc in front, for claw swipes
- BOX - Rectangular box, for ground pounds
- CAPSULE - Cylinder with rounded ends, for dash attacks
Positioning Modes
Section titled “Positioning Modes”- IN_FRONT - Places OBB in front of titan at specified distance
- Adjustable distance slider appears
- OBB follows titan rotation
- AT_TARGET - Centers OBB on the target (cyan sphere)
- Good for targeted explosions
- AT_USER - Centers OBB on the titan itself
- Perfect for self-centered AOE
Half-Extents
Section titled “Half-Extents”Control OBB size with three sliders:
- X-axis - Width/radius depending on shape
- Y-axis - Height/length depending on shape
- Z-axis - Depth (BOX only)
Shape-Specific Usage:
- SPHERE: Only X matters (radius)
- CONE: X = base radius, Y = length forward
- CYLINDER: X = radius, Y = half-length forward
- ARC: X = radius, Y = half-height up/down
- BOX: X = width, Y = height, Z = depth
- CAPSULE: X = radius, Y = half-length + hemisphere
Rotation Controls
Section titled “Rotation Controls”Adjust titan rotation to see how OBB follows:
- Yaw (Y-axis): -180° to 180° (horizontal rotation)
- Pitch (X-axis): -90° to 90° (vertical look)
Include Pitch Checkbox:
- ✅ Checked: OBB rotates with both yaw and pitch
- ❌ Unchecked: OBB only rotates horizontally
Camera Controls
Section titled “Camera Controls”- Left-click drag: Rotate camera around scene
- Right-click drag: Pan camera
- Scroll wheel: Zoom in/out
Export Config
Section titled “Export Config”Click “Copy JSON Config” to get the complete define_obb keyframe:
{ "type": "define_obb", "name": "custom_obb", "shape": "SPHERE", "positioning": "IN_FRONT", "distance": "3.0", "halfExtents": { "x": "5.0", "y": "5.0", "z": "5.0" }, "includePitch": true}Paste directly into your ActionEffect timeline!
Common Patterns
Section titled “Common Patterns”Flamethrower (CONE)
Section titled “Flamethrower (CONE)”- Shape: CONE
- Positioning: IN_FRONT
- Distance: 2.0-3.0
- Half-Extents:
- X: 1.5-2.5 (base width)
- Y: 6.0-8.0 (length)
- Include Pitch: ✅ Yes
Lightning Bolt (CYLINDER)
Section titled “Lightning Bolt (CYLINDER)”- Shape: CYLINDER
- Positioning: IN_FRONT or AT_TARGET
- Distance: 5.0-8.0
- Half-Extents:
- X: 1.0-1.5 (thickness)
- Y: 10.0-15.0 (length)
- Include Pitch: ✅ Yes
Explosion (SPHERE)
Section titled “Explosion (SPHERE)”- Shape: SPHERE
- Positioning: AT_USER or AT_TARGET
- Half-Extents:
- X: 8.0-12.0 (radius)
- Include Pitch: ❌ No (doesn’t matter for spheres)
Claw Swipe (ARC)
Section titled “Claw Swipe (ARC)”- Shape: ARC
- Positioning: IN_FRONT
- Distance: 1.0-2.0
- Half-Extents:
- X: 4.0-6.0 (reach)
- Y: 2.0-3.0 (vertical range)
- Include Pitch: ❌ No (keep horizontal)
Ground Pound (BOX)
Section titled “Ground Pound (BOX)”- Shape: BOX
- Positioning: AT_USER or IN_FRONT
- Distance: 1.0-3.0
- Half-Extents:
- X: 5.0-8.0 (width)
- Y: 2.0-3.0 (height)
- Z: 5.0-8.0 (depth)
- Include Pitch: ❌ No
Charge Attack (CAPSULE)
Section titled “Charge Attack (CAPSULE)”- Shape: CAPSULE
- Positioning: IN_FRONT
- Distance: 3.0-5.0
- Half-Extents:
- X: 1.5-2.0 (thickness)
- Y: 6.0-10.0 (length)
- Include Pitch: ✅ Yes
Tips & Tricks
Section titled “Tips & Tricks”Size Guidelines
Section titled “Size Guidelines”Close-Range Attacks (3-5 blocks):
- Radius/width: 2-4
- Length: 3-6
Medium-Range Attacks (5-8 blocks):
- Radius/width: 3-6
- Length: 6-10
Long-Range Attacks (8-12 blocks):
- Radius/width: 4-8
- Length: 10-15
Ultimate Attacks (12+ blocks):
- Radius/width: 8-15
- Length: 12-20
Testing Strategy
Section titled “Testing Strategy”- Start small: Begin with conservative sizes
- Test in-game: Spawn titan and test attack
- Adjust: Use visualizer to tweak sizes
- Iterate: Repeat until perfect
Performance Considerations
Section titled “Performance Considerations”Larger OBBs = more entities checked:
- Keep ultimates rare (high cooldown, low weight)
- Use appropriate sizes (don’t make everything huge)
- Consider telegraph duration (larger = longer warning)
Visual Feedback
Section titled “Visual Feedback”Match OBB size to telegraph markers:
- Players see telegraph before damage
- OBB should match what players expect
- Larger OBB = longer telegraph duration
Understanding the Visualizer
Section titled “Understanding the Visualizer”Scene Elements
Section titled “Scene Elements”- Red Cube: The titan (2×3×2 blocks)
- Cyan Sphere: The target
- Yellow Shape: The OBB hitbox
- Orange Wireframe: OBB outline
- Grid: Ground plane (1 square = 1 block)
- Axes: XYZ coordinate system
Color Meanings
Section titled “Color Meanings”- Yellow (OBB): Damage will apply here
- Orange (Wireframe): OBB boundaries
- Red (Titan): Attack origin
- Cyan (Target): Target position
Rotation Behavior
Section titled “Rotation Behavior”-
Yaw (Y-axis): Horizontal rotation
- 0° = facing +Z (north)
- 90° = facing +X (east)
- -90° = facing -X (west)
- 180° = facing -Z (south)
-
Pitch (X-axis): Vertical look
- 0° = looking straight ahead
- +45° = looking up
- -45° = looking down
Troubleshooting
Section titled “Troubleshooting”OBB Not Visible
Section titled “OBB Not Visible”- Check if OBB is very small (increase half-extents)
- Ensure positioning mode is correct
- Try rotating camera to different angle
- Check if OBB is behind titan
OBB Wrong Position
Section titled “OBB Wrong Position”- IN_FRONT: Check distance value
- AT_TARGET: OBB should be on cyan sphere
- AT_USER: OBB should be on red cube
Shape Looks Wrong
Section titled “Shape Looks Wrong”- Different shapes use half-extents differently
- Check “Shape Guide” in controls panel
- SPHERE only uses X value
- CONE/CYLINDER point along Z-axis
Can’t Rotate View
Section titled “Can’t Rotate View”- Left-click and drag (not right-click)
- Try scrolling to zoom first
- Refresh page if controls stuck
Next Steps
Section titled “Next Steps”- OBB System Docs → - Complete OBB documentation
- ActionEffect Builder → - Build full attack timeline
- Creating Custom Moves → - Complete workflow
Perfect your hitboxes visually! 📦✨