4.3.1.1 Hammer angle margin

In URealXR, the "Hammer Angle Margin" is a parameter used to define the acceptable angle range for a successful hammer hit.

What it does:

When using a hammer tool in VR (e.g., to drive a nail or apply force to an object), the system checks the angle between the hammer’s swing direction and the intended target direction. The "Hammer Angle Margin" sets how much deviation from the ideal angle is tolerated for the hit to register as valid.

Example:

  • If the ideal hit angle is 90° (perpendicular to the target) and the Hammer Angle Margin is set to 15°, then hits between 75° and 105° will be considered successful.

  • Hits outside that range will be ignored or may trigger a "failed hit" response

Why it matters:

This setting helps control realism and difficulty:

  • A smaller margin requires more precise hits and is better for realistic training.

  • A larger margin makes the task more forgiving, which is helpful in beginner-friendly or faster-paced scenarios.

Last updated