0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

neosでlogix その140

Last updated at Posted at 2023-05-09

概要

neosでlogixやってみる。
練習問題、やってみた。

練習問題

乗り物を作れ。

方針

アンカー付きの車、見つけた。
CharacterController入れる。
Set Character Velocity使う

写真

2023-05-09 01.44.55.jpg

俺コード

{a} = KeyHeld Keypad2
{b} = FireOnTrue
{CharacterController.SimulatingUser, c, _} = WriteRef LocalUser
{d} = SetCharactorVelocity c -0.5,0,1 CharacterController

手順

  • Ogiをスポーン
  • インスペクターを開き、コンポーネントを追加
  • Physics->CharacterController
  • インターフェースを取り出す
  • ノードブラウザを表示
  • Actions>Write Refノードをスポーン
  • Users>Local Userノードをスポーン
  • Input Devices>Keyboard>Key Heldノードをスポーン
  • Flow>Fire On Trueノードをスポーン
  • Physics>Set Character Velocityノードをスポーン
  • つなぐ

ポイント

TractionForceを1000->10

以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?