Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

アプリケーションから動的に Spring に対する外力を作用させるインタフェース #1861

Closed

Conversation

ousttrue
Copy link
Contributor

fixed #1860

@ousttrue
Copy link
Contributor Author

風とか、ジャンプしたときや、穴に落ちたときの G に使える?

Copy link
Contributor

@notargs notargs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

コメントした点気になりました 👀
手が空いたタイミングで軽く実装してみます

@@ -36,6 +36,9 @@ public class Spring
[SerializeField]
public Transform Center;

[SerializeField]
public Transform External;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Transformを介す必要性はなさそう。単にVector3を渡せばいいはず

@ousttrue
Copy link
Contributor Author

#1868

@ousttrue ousttrue closed this Oct 18, 2022
@ousttrue ousttrue deleted the feature10/spring_bone_external_force branch January 24, 2024 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[1.0] SpringBone の外力(重力的な)を毎フレームアプリから制御できるインタフェース
2 participants