Skip to content

feat: Add scale input to TimeNode#24

Merged
shivaduke28 merged 2 commits intomainfrom
feature/time-scale
Jul 5, 2025
Merged

feat: Add scale input to TimeNode#24
shivaduke28 merged 2 commits intomainfrom
feature/time-scale

Conversation

@shivaduke28
Copy link
Copy Markdown
Owner

@shivaduke28 shivaduke28 commented Jul 5, 2025

Summary

  • TimeNodeにscale入力を追加し、時間の流れる速度を調整可能にしました
  • デフォルト値は1.0で、負の値も含む任意の値を設定可能です

Changes

  • FloatInput型のscale入力スロットを追加
  • Time.deltaTime * scaleで時間を計算するように変更
  • 既存のグラフとの後方互換性を維持

Test plan

  • TimeNodeを作成し、scale入力が表示されることを確認
  • scale値を変更して時間の速度が変化することを確認
  • 負の値を設定して時間が逆方向に流れることを確認

🤖 Generated with Claude Code

shivaduke28 and others added 2 commits July 6, 2025 02:23
- Add FloatInput 'scale' with default value 1.0 and infinite range
- Implement scaled time calculation using Time.deltaTime * scale
- Maintain backward compatibility with existing graphs

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@shivaduke28 shivaduke28 merged commit 34eded7 into main Jul 5, 2025
@shivaduke28 shivaduke28 deleted the feature/time-scale branch July 5, 2025 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant