Tutorial Unity3D Non-player character (NPC) Collision Detection with Player

Rigidbody for character : he fall throught

Physics > “box collider” for the player + “rigidbody” for the player

            Check the user is at the center of box collider (Y=1)

Each Environment: apply a meshcollider

Inspector > Box Collider to create (and size Y = 3.5 for Humanoid asset )

Source : https://docs.unity3d.com/Manual/CollidersOverview.html

https://alison.com/course/diploma-in-3d-game-development-with-unity-engine

Unity3d Tutorial: Integrate 3D Animations into a 3D Character into a 3D Scene

The short way:

  1. Download and Import “Basic Motion Free” from Kevin Iglesias. https://assetstore.unity.com/packages/3d/animations/basic-motions-free-154271
  1. Download and Import PBR model “ScifiGirl_Skin3” into the environment. (Character with no Animationcontrollers) https://assetstore.unity.com/packages/3d/characters/humanoids/sci-fi/scifigirl-gr-194758
  1. Drag and drop “Kevin Iglesias > Basic Motions > BasicMotions@Idle” into ScifiGirl_Skin3 “Animator > Controller”.
  1. Move the camera if needed; and press the ‘Play’ button.
Publié dans Jeux vidéo. Étiquettes : , , . Leave a Comment »

Tutorial : How to fix Pink Materials to be compliant with Unity3D URP (Universal Rendering Pipeline)

SciFiGirl by dremorn on Sketchfab

3 steps :

  1. Purchase model
  2. Import model
  3. Configure model

https://assetstore.unity.com/packages/3d/characters/humanoids/sci-fi/scifigirl-gr-194758

Difference between 3D and URP (Universal Rendering Pipeline) in Unity3D

Ref: https://www.youtube.com/watch?v=nB0r0c-SIVg

In Project settings > Graphics > URP

Select material in is own folder

Edit > rendering > material

  • Not all of them are converted into URP. Why ?
  1. Select one material > go to inspector > in shader > select URP > lit. Repeat the process until complete.
  2. Apply one texture to one material :  in inspector > surface input > drag and drop

How to know which texture to which material?

Base, Metallic, normal, height, occlusion, emission

  • Search the base (because it’s white, so missing)

Material :

  • 4 armor.
  • 4 skin
  • 4 skin mat
  • 1 eyelash
  • 1 eye
  • 1 hair
  • 4 elm Skin

Textures : (albedo seems to be the universal solution)

  • Eyelash 3 : albedo
  • Eye 4 : albedo (2 choices)
  • Hair 3 : albedo
  • Texture 1
    • 5 armor : albedo
    • 4 blaster : already done
    • 5 helm : done
  • Texture 2 :
    • 5 armor :
    • 5 blaster: already done
    • 4 body :
    • 5 helm :
  • Texture 3 :
    • 5 armor : albedo
    • 5 blaster : already done
    • 3 body : bodyc_skin3.mat
    • 5 helm : albedo.tga
  • Texture 4 :
    • 5 armor :
    • 5 blaster : already done
    • 5 body :
    • 5 helm :
Publié dans Jeux vidéo. Étiquettes : , . Leave a Comment »

Unity3D Tutorial Add a new Enemy moving into the MainScene

Prerequisite : https://learn.unity.com/project/fps-template

From FPS Mod: Add a new Enemy Robot with a hat

https://learn.unity.com/tutorial/fps-mod-Add-a-New-Enemy-Robot

Asset : Free Test Character Asuna or https://assetstore.unity.com/packages/3d/characters/humanoids/sci-fi/free-test-character-asuna-205897

  • Make a copy of a prefab
  • Open the new prefab in inspector
  • Make adjustment
  • Import asset into your game (window > package manager)
  • Import 3d asset into prefab
  • Delete previous prefab asset
  • Restructure to new dimension of asset
  • The weaponRoot must be position Y = 1
  • In the health bar pivot, the image background and imagefill must have the same coordinates on top of your character.
  • Add instance into MainScene
  • Test and modify Prefab until complete

Tutorial How to upgrade materials (pink materials error) to URP in Unity3D 2021.3.11.f1

Free Test Character Asuna by MSGDI on Sketchfab

1.     Window> rendering > Render pipeline converter

2.     Select“built it to URP”

3.     Checkall the boxes

4.     Clickinitialize converter

5.     Checkerror

6.     Doit : click on “convert assets“ button

7.     Click“reload”

8.     Ifit’s light blue, it’s loading. Wait. And that ‘s it.

Publié dans Jeux vidéo. Étiquettes : , . Leave a Comment »

Tutorial Unity3D New York City (NYC) First Person Shooter (FPS) in High Definition (HD)

  • Import city builder – Physically based rendering (PBR)
  • Extract paquage in good format : URP City Builder Urban

https://assetstore.unity.com/packages/3d/environments/urban/city-builder-urban-180722

  • import fps
    • copy-past objects

https://assetstore.unity.com/packages/templates/fps-microgame-156015

  • change default camera (hierarchy -> Main Camera) (copy paste coordinate in inspector -> transformations)
  • check playability
  • position player : 23 ; -0,25 ; 2,9
  • rotation player : 0 ; -100 ; 0
  • check new weapon compliance with FPS Template
  • import new weapon (addons > MgFPS_Haku)

https://assetstore.unity.com/packages/3d/haku-fps-microgame-add-ons-197231

  • position weapon : 20 ; 0 ; 2
Publié dans Informatique, Jeux vidéo. Étiquettes : , , , , , . Leave a Comment »