Joystick for Unity3D movement rotation simple input multi touch virtual controls

製品情報

¥18,475
cart 買い物カゴに追加 favorites お気に入りに追加
ユーザーガイド 画像 プレビュー 動画

inspectedPieceX検証済み

デベロッパー

avatar
Unity Games
×

価格交渉

コードサンプルのリクエスト ダイレクトメッセージ

2020年06月08日

公開チャット

製品詳細


Test this asset on this link (inside your browser - you don't need to download anything): https://e-ugovor.rs/joystick_test/

Or download this apk and test it on your android device: https://www.dropbox.com/s/pemcr3kx2ccg5f3/joystick_controls_test.apk?dl=0

I am always looking to improve my assets, so if you need any feature that you would like in new version or if you have any suggestion on how to improve this asset feel free to contact me.

This asset will provide you with movement + rotation joystick controls that is very easy to setup and use.

If you want to try it on your device you can download test apks from here:

Fixed position example: https://www.dropbox.com/s/4z1ptj6nihr0oll/joysticsk%20test.apk?dl=0
Video: https://www.youtube.com/watch?v=QAHQuaWRwsg

Floating joystick example: https://www.dropbox.com/s/4z1ptj6nihr0oll/joysticsk%20test.apk?dl=0
Video: https://www.youtube.com/watch?v=kDJ-xlfsCwA

Movement and rotation on one joystick: https://www.dropbox.com/s/ysy06qqi7hg9ttr/joysticsk%20test%20one%20control.apk? dl=0
Video: https://www.youtube.com/watch?v=04R8J84AV4U



How to use it?

- Drag and drop “joystick.prefab“ from “Prefab” folder into your scene.

- Use “JoystickLeft.positionX” static variable inside your scripts to get left joysticks X axis value, use “JoystickLeft.positionY” to get Y axis value (you will get value from -1 to 1 for x and also from -1 to 1 for y axis).

- Use “JoystickRight.angle” to get right joysticks rotation value. Call “Mathf.Rad2Deg * JoystickRight.angle” if you want to get rotation in degrees and not in radians.

You can choose which joystick (left or right) you will use for movement and which one for rotation. Or you can use only one joystick for movement AND rotation.

Additional Options

If “Sticky” option is checked joystick will be invisible and it appear on the position where you touch the screen. If this option is unchecked joystick will always stay on the same position.

“Stick Movement Threshold” will determine how much joystick can move from its central position.

If "Move joystick base on drag" is checked joysticks base will move when finger or pointer is dragged outside of joysticks movement trashold.

"Freeze X" option will freeze X axis.

"Freeze Y" option will freeze Y axis.

File Tree

  • 📁 Joystick for Unity3D movement rotation simple input multi touch virtual controls

価格情報

価格の統計

最高価格
¥18,530
平均価格
¥18,368
最低価格
¥18,096
AI価格予測
¥5,158

インサイト

限定プレビュー


実際の製品には、すべてのファイルと完全なコードが含まれています。

依存パッケージ

依存パッケージを表示する

ランダムサンプルファイル

プロジェクトファイルの統計

階層

サンプルファイルを選択してください
X
user-symbol

Stay in touch

ビジネスおよび開発者向けの実用的な最新情報をご希望ですか?

ソースコードプロジェクトに対するPieceXコミュニティのニーズについてご提供します。

PieceXの最新の無料コミュニティコードプロジェクトをいち早くお知らせします。