Real To Game Time
PureRealToGameTimeConverts real-world time to game time using a time scale multiplier.
Type: Pure (no side effects)
Category: Fortuna|Time & Date
Keywords: time & date
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| RealSeconds | float | — | RealSeconds parameter |
| TimeScale | float | — | TimeScale parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | float | ReturnValue output |
Example Use Cases
Example 1
A game where 1 real minute = 1 game hour.
Example 2
Scale time for fast-forwarding in a simulation.