KITASENJU DESIGN BLOG

memo, html, javascript, unity

Entries from 2020-10-01 to 1 month

how to use transform.localToWorldMatrix on c#

answers.unity.com Vector3 lPos; // your local pos Vector3 wPos = transform.TransformPoint(lPos); //is the same as Vector3 wPos = transform.localToWorld * new Vector4(lPos.x, lPos.y, lPos.z, 1f); //or just Vector3 wPos = transform.localToWo…

ARFoundationのprojectionMatrix

projectionMatrixかviewMatrixがバグってる.たぶんprojection. _projMat = _camera.projectionMatrix; _viewMat = _camera.worldToCameraMatrix; これをつかってスクリーンスペースのプロジェクションをしようとしたら、なんかおかしい。 ポストエフェクトを…

apple connect 画像サイズのメモ

iOS

画像サイズ 公式 https://help.apple.com/app-store-connect/#/dev4e413fcb8 サイズ iPhoneのサイズ 5.5 インチ(iPhone 6など) Video 1080 × 1920 (横:1920 x 1080 ) Image 1242 × 2208 (横:2208 x 1242) 6.5 インチ(iPhone Xなど) Video 886 x 1920 (横…

How to split mesh triangles

Split the connected triangles. ポリゴンを分解する gist.github.com

売れるデザインの騒がしさ

xtrend.nikkei.com

URPをためす

www.jyuko49.com

角丸 最高!

baba-s.hatenablog.com

スプライトのためにgrid上に分割したときの座標

using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; public class SpriteUV { public static Vector4 GetUv(int idx,int numX, int numY){ int splitX = numX; int splitY = numY; int xx = idx…

unity editorで音が鳴らない

GameViewのMute Audioのせいでした。わかりづれえ

How to modify background shader on ARFoundation

There is ARKitBackground.shader in Library/PackageCache. Copy and rewrite it. I added it so that you can change the brightness. gist.github.com

抽象と具体と作品評価

抽象と具体という視点を持つといい。 他人に作品のアドバイスする時もその視点を持つ。 抽象 作品コンセプトやアイデア whyの問いから生まれる 具体 作り方やディティール howの問いから生まれる コンセプトが曖昧なものや、弱いものは whyの問いがたりない…

レビューを促すやつ

【Unity】iOS / Android でレビューを促す。(2018年10月版) - 実践ゲーム製作メモ帳2 Unity - Scripting API: iOS.Device.RequestStoreReview

AppConnectの課金申請

iOS

日本在住のエンジニアが米国App Storeでアプリを公開する時にTax Informationに設定した内容と結果 | ottijp blog w8benという書類にとにかく記入すれば、米国での源泉徴収が免れるようだ。 video-knowledge.com

iOS14でVideoPlayerがクラッシュする

issuetracker.unity3d.com 音をnoneにしたら、マジで治った。

unity2020でpackgeManagerでpackageが見つからない

gitからさがす方法 helpdesk.unity3d.co.jp add package from diskでローカルのを読み取る 他のプロジェクトの Libray/PackageCacheからmanifest.jsonをよみとったらAsssetのpackagesフォルダに読み込まれた!

script for motion with delta-time

deltaTimeを考慮したモーション //対応前 x += (tgt-x)/2f; //対応後 x+= (tgt-x)/2 * Time.deltaTime/0.01666;// 0.0166=1/60sec

"FOOTER"