CrimsonNumberPop · Lesson 7 of 8
Position & Scale
Before you start
- Completed: Replicate & Broadcast
Chapters
1. Place with the target component
Add `CrimsonNumberPopTargetComponent` to actors that receive pops and set either a Socket Name (e.g. head) or a Relative Offset (default 0,0,100). The server resolves the anchor, so every client agrees where the number belongs.
Resolution falls back gracefully: an explicit event World Location → the component's socket → root + offset → root + 100 cm. Actors without the component still work — they just use the last fallback.
2. Scale by camera distance
Author a Curve Float — X is camera-to-pop distance in cm, Y is scale — and assign it at Scaling → Distance Scale Curve Path. It's evaluated live every frame per pop; the final size is the player's Widget Scale × the curve value, and a Y of 0 or below hides the pop entirely at that range.