Skip to content

Itamyl/CarryABox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello

I explain everything here in Turkish and English. You can directly download and use the project.

First, let's create a BP_Box Actor and add anything you want as a Static mesh.

Öncelikle bir BP_Box Actor oluşturalım ve Static mesh olarak istediğiniz herhangi bir şeyi atın. 1

We need to add a scene, this will be our anchor, like our hand holding the box, you can put this point there in your hand if you want.

Bir scene eklemeliyiz bu bizim anchor'umuz olacak kutuyu tuttuğumuz elimiz gibi isterseniz bu noktayı elinizin oraya koyabilirsiniz. 2Scene

Give a name.

Bir isim verin. 3

We need a linetrace that we need to interact with BP_Box. BP_Box ile iletişime girmemiz gereken bir linetrace ihtiyacımız var. 4Linetrace

Our camera's position in the world gives us. Create a variable called Linetracelenght and give it the value 500. It will be float.

Kameramızın dünya konumu başlangıçı verir.Linetracelenght adında bir değişken oluşturun ve buna 500 değerini verin float olacak. 5Linetrace

Make pure if you want.

Pure yapın isterseniz. 6pure 7pure

Make for duration

For duration yapın 8linetraceokay

Make out hit break hit result. I don't recommend using Cast, but it's a simple way.

Out hit'i break hit result yapın. Cast kullanmanızı önermem ama basit yoluyla böyle. 9

10setworldlocation

11

Simulete physick 13

We need to attach our anchor and box, used this since they are both components.

Birleştirmemiz gerekiyor bizim anchor ve box'ı Her ikisi de bileşen olduğundan bunu kullandık. 14finshnowfixbug 15nocollision 16setphysics 20branch 19 18 17

Finally, we create a branch and check whether there is a box or not, and we take or leave the box accordingly.

Son olarak bir bracnh oluşturup kutunun var olup olmadığını kontrol edip ona göre kutuyu alıyoruz veya bırakıyoruz.

Sorry for my bad English. If you have any questions, please contact me on discord. DC: Itamyl.

Sorularınız varsa discord üzerinden yazabilirsiniz DC: Itamyl