상품 설명
【U#1.0動作未確認 U#1.0 operation not tested】
SmartPickupSharp
SmartPickup by NEET ENGINEER https://neet-shop.booth.pm/items/2981343
SmartPickupSharp by InPlanaria https://inplanaria.booth.pm/items/3640206
当プログラムは、NEET ENIGNEER様のUdon Graphコード"Smart Pickup"を
InPlanariaがUdon Sharp化し、機能追加を行ったものです。
【利用規約】
当配布アセット内のデータはすべて
●有償無償問わず再配布可
●改変可
●VRChatのprivateまたはpublicワールドへの組み込み可
●クレジット表記不要
●ただし製作者の詐称を禁止する
【説明】
通常のObject Syncは、オブジェクトの位置を常に同期します。
Smart Pickupは「オブジェクトを拾ったときの、Handボーンとオブジェクトの相対位置」を同期し、
ローカル処理によって手に追従して動くように見せています。
そのため同期回数が少なく、手の動きにしっかり追従しているように見えます。
【注意】
●Is Kinematicオンでしか使えません(重力等、Pickup以外の要因で座標や回転が変わることは想定していません)
●元来VRChatでは、アバターのボーン位置はすべてのプレイヤーの視点から一致して見えているわけではありません。Block,Hide,Fallback,Questが関係なくてもです。
そのため、ピックアップは各プレイヤーによって見えている位置が違います。おそらくペンには向いていません。
●Genericアバターで持ったり、デスクトップモードで[U][O][I][K][J][L][マウスホイール]を使うと、他の人の視点ではなめらかに動きません。
【使い方】
①SmartPickupSharp.prefabをHierarchyに配置してください。
②SmartPickupSharp/Modelの子にモデルを配置してください。
③SmartPickupSharpのBoxColliderの位置とサイズを調整してください。
④(任意)SmartPickup_ResetSwitch.prefabをHierarchyに配置。SmartPickup_ResetSwitchのUdon BehaviourのSmart Pickup Objに、配置したSmartPickupオブジェクトを登録してください。
【サンプルについて】
SmartPickupSharp/Example/ExampleSceneが設定サンプルです。
サンプルデータの利用規約はスクリプト本体と同様です。
●SmartPickupSharp
通常使用の設定サンプルです。
●SmartPickupSharp_UdonCustomSample
別のUdonBehaviourと連携して色々やるサンプルです。
●SmartPickupSharp_AnimationToggleSample
2状態をアニメーションで変化させるシンプルな実装サンプルです。
●SmartPickup_ResetSwitch
位置リセットスイッチの設定サンプルです。
●GlowStick (VRC Object Sync)
動作比較用。
SmartPickupSharp
SmartPickup by NEET ENGINEER https://neet-shop.booth.pm/items/2981343
SmartPickupSharp by InPlanaria https://inplanaria.booth.pm/items/3640206
This program is based on the Udon Graph code "Smart Pickup" by NEET ENIGNEER, which was transcribed by InPlanaria into Udon Sharp with additional functionality.
[Terms of Use]
All data in this distribution asset is
Redistribution is permitted without charge.
Modification is allowed.
Can be incorporated into private or public VRChat worlds.
No credit is required. however, misrepresentation of the creator is prohibited.
[Description].
Normal Object Sync always synchronizes the position of the object.
Smart Pickup synchronizes the "relative position of the object to the hand bone when the object is picked up", and makes it look like it follows the hand through local processing.
As a result, the number of times it is synchronized is low, and it appears to follow the movement of the hand closely.
[Notes]
Only works with Is Kinematic on. (We do not expect the coordinates or rotation to change due to factors other than pickup, such as gravity.)
Originally, in VRChat, the avatar's bone position is not always visible from all players' viewpoints, even if Block, Hide, Fallback, and Quest are not involved.
Therefore, each player will see the pickup in a different position. This is probably not the right place for a pen.
If you hold it with a generic avatar or use [U][O][I][K][J][L][mouse wheel] in desktop mode, it will not move smoothly in other people's viewpoints.
[How to use]
1) Place SmartPickupSharp.prepab in the Hierarchy.
2) Place the model in the SmartPickupSharp/Model child.
3) Adjust the position and size of the BoxCollider in SmartPickupSharp.
4) (This item is optional.) Place SmartPickup_ResetSwitch.prefab in the Hierarchy and register the SmartPickup object in the Smart Pickup Obj of the SmartPickup_ResetSwitch's Udon Behaviour.
[About the sample]
SmartPickupSharp/Example/ExampleScene is a sample configuration. The terms of use for the sample data are the same as for the script itself.
A) SmartPickupSharp
SmartPickupSharp/Example/ExampleScene is a sample configuration for normal use.
B) SmartPickupSharp_UdonCustomSample
SmartPickupSharp_UdonCustomSample This is a sample that works with another UdonBehaviour.
C) SmartPickupSharp_AnimationToggleSample
This is a simple implementation sample that changes the two states with animation.
D) SmartPickup_ResetSwitch
This is a sample of a position reset switch.
E) GlowStick (VRC Object Sync)
For comparison.
모든 리뷰
더보기리뷰 등록
리뷰를 작성하려면 로그인이 필요합니다.
로그인하고 리뷰 쓰기