ousttrue
a71aa9fd8f
import
2024-06-05 15:54:03 +09:00
ousttrue
ffaf60e4de
Merge pull request #2292 from LanternaBlender/master
...
Capsuleの当たり判定を修正 #2291
2024-05-30 17:19:34 +09:00
Admin
4f1872d5f0
Capsuleの当たり判定を修正 #2291
2024-05-15 23:36:05 +09:00
Isamu Mogi
698a4dbc8e
Unity2022.2.4以下と2021.3.17以下でFindObjectBy系APIが存在しないのに対応
...
FindObjectsBy系のAPIは、UniVRMがサポートしているUnityのうち、次の範囲のバージョンには存在しない。
- 2021.3.0~2021.3.17
- 2022.1.0~2022.1.24
- 2022.2.0~2022.2.4
そのため、該当するバージョンのUnityではコンパイルエラーが発生していた。UNITY_2022_3_OR_NEWERで分岐することで、旧APIと新APIを安全に選択するようにした。
厳密にはUNITY_2022_2_5_OR_NEWERを用いたいが、そのようなシンボルは存在していなかった。
2024-05-14 20:15:56 +09:00
Isamu Mogi
018aec1fab
Unity2023.1以降でFindObjectsOfType系APIがObsolete警告を出すのに対応
...
Unity 2023.1以降のバージョンでUnityEngine.Object.FindObjectsOfType系APIがObsoleteになり、次の警告が発生していました。
```
Assets/VRM10_Samples/VRM10Viewer/VRM10ViewerUI.cs(250,24): warning CS0618: 'Object.FindObjectOfType<T>()' is obsolete: 'Object.FindObjectOfType has been deprecated. Use Object.FindFirstObjectByType instead or if finding any instance is acceptable the faster Object.FindAnyObjectByType'
Assets/VRM10_Samples/VRM10Viewer/VRM10ViewerUI.cs(208,31): warning CS0618: 'Object.FindObjectsOfType<T>()' is obsolete: 'Object.FindObjectsOfType has been deprecated. Use Object.FindObjectsByType instead which lets you decide whether you need the results sorted or not. FindObjectsOfType sorts the results by InstanceID but if you do not need this using FindObjectSortMode.None is considerably faster.'
```
代わりにFindObjectsBy系APIを使うようにしました。これはUnity 2021.3にも存在しているので、そのまま使うことができました。
FindObjectOfType()とFindFirstObjectByType()の違いに関してはドキュメントからは読み取れませんでしたが、
Unity-Technologiesgが公開しているUnity 6000のソースコードを見る限り、動作は同一に見えるためそのまま置き換えました。
https://github.com/Unity-Technologies/UnityCsReference/blob/6000.0/Runtime/Export/Scripting/UnityEngineObject.bindings.cs#L586-L602
2024-05-08 03:48:25 +09:00
ousttrue
6036e61f07
ロジックバグ。normalize 必用ぽい
2024-02-29 13:44:54 +09:00
T-Kuhn
b8445abf1f
Changed FastSpringBoneService ExecutionOrder to make sure FastSpringBoneService executes after Vrm10Instance
2023-01-25 12:56:15 +09:00
0b5vr
76ebf0ef73
fix: Fix outdated exception message
...
`UpdateTypes` は `LateUpdate` か `Manual` しかなく、 `None` はこれは `Manual` の変更忘れでしょうか?
2022-10-26 18:48:02 +09:00
ousttrue
b1a545f987
元のスタイルに戻し
2022-10-26 13:31:19 +09:00
ousttrue
f17bac5b03
FastSpringBoneService.ManualUpdate に deltaTime 引き数を追加
2022-10-25 21:52:19 +09:00
ousttrue
11b6689c01
local 変数の使いまわしやめ
2022-10-25 21:50:59 +09:00
ousttrue
e1e4bfde78
FastSpringBoneService manual update
2022-10-24 19:12:52 +09:00
notargs
46e3ec70d5
外力をキャラクターごとに設定するように変更
2022-10-20 15:31:59 +09:00
notargs
dc3b6afd8c
SpringBoneに対してグローバルで外力を渡すインターフェースを実装する
2022-10-18 13:16:33 +09:00
amamagi
48aec5bfe5
fix ArgumentOutOfRangeException
2022-06-06 16:03:15 +09:00
amamagi
d2006caa4e
remove mathematics
2022-05-31 15:37:21 +09:00
amamagi
9aaea6e6a1
refactor fast spring bone
2022-05-30 19:05:17 +09:00
amamagi
7c0df2aa1e
small change
2022-05-30 18:22:08 +09:00
amamagi
d4ae062ae4
apply collider scale
2022-05-30 18:09:11 +09:00
amamagi
0a50881fa5
add collider idx
2022-05-30 16:03:58 +09:00
amamagi
e3d55943b6
fix reconstruct method
2022-05-27 20:45:31 +09:00
amamagi
59ea12f880
add disposed check
2022-05-18 19:55:29 +09:00
notargs
61846b9bb3
ReconstructBuffers時に、揺れものの状態がリセットされる問題を修正しました
2022-04-22 19:04:16 +09:00
notargs
700f79a700
Fix FastSpringBoneService initializing flow for #1567
2022-04-06 17:49:10 +09:00
notargs
e2a2c073c9
Fix springbone center logic
2022-02-21 18:25:00 +09:00
notargs
698e7c0f15
不要なキャストを削除
2021-10-22 15:30:26 +09:00
notargs
c68be7c59f
Fix comment
2021-10-22 15:25:19 +09:00
notargs
c215022153
Unuse mathf in burst
2021-10-22 15:24:34 +09:00
notargs
c350fa2808
Fix format
2021-10-19 17:04:35 +09:00
notargs
1e4b054790
Normalize quaternion on update headTransform.rotation
2021-10-19 16:18:17 +09:00
notargs
39e98be218
Improve buffer construction performance
2021-10-06 14:45:38 +09:00
notargs
3ba8b65718
Rename system -> service
2021-10-05 18:56:04 +09:00
notargs
82e4d99e1b
Add FastSpringBoneBufferCombiner
2021-10-05 18:51:35 +09:00
notargs
d185452f48
Use ENABLE_SPRINGBONE_BURST definition
2021-10-05 18:44:30 +09:00
notargs
59b4835996
Improve FSB10 collider
2021-10-05 18:38:22 +09:00
notargs
c588d81b4d
Add FastSpringBone10 core logics
2021-10-05 16:20:54 +09:00
notargs
85ace9c1bb
Add BlittableLogic struct
2021-10-04 19:38:48 +09:00
notargs
6bae0f5074
Fix FastSpringBone Reconstruction algorithm
2021-10-04 18:42:53 +09:00
notargs
2c580471f5
Update FastSpringBone10
2021-10-01 20:47:55 +09:00
notargs
59df94461e
FastSpringBone作り直しのため、データ構造を再構築
2021-10-01 17:29:42 +09:00