Drunken Wrestlers 2

Drunken Wrestlers 2

Not enough ratings
Hollow Earth
   
Award
Favorite
Favorited
Unfavorite
Mods: Maps
File Size
Posted
Updated
141.642 MB
14 May, 2021 @ 9:51am
16 May, 2021 @ 9:48am
2 Change Notes ( view )

Subscribe to download
Hollow Earth

In 1 collection by different lizard tank engine
Allosaur Hell's Maps
18 items
Description
"There's a world going on, underground." - Tom Waits.
6 Comments
vadiks 3 Jun, 2021 @ 11:47am 
i'm not sure how your birds gonna be flying, but you might aswell figure everything out.
some explanation!
dont bother about each word since you're not a programmer!
void Start - does shit at the start
void Update - does shit every single frame
center = new Vector3(0;0;0) - point out the center of the map. you might aswell change "Vector3 center" to "public Vector3 center", delete the void start() with everything inside it, and put in coords manually in the editor
rotatearound()
vadiks 3 Jun, 2021 @ 11:47am 
oh, we need math for that
1. we get the axis point, which we gonna have birds flying around at. lets say its coordinates 0;0;0 (center of the map probably)
2. we have a location of birds which is transform.position

we need to move them around that circle. what is the formula of position for circle angle?
WHO CARES! I LIED!
THERE IS AN ALREADY MADE UNITY FUNCTION Transform.RotateAround(); https://docs.unity3d.com/ScriptReference/Transform.RotateAround.html

BASICALLY
you make this script and attach it to a bird!

using unity and other shit;

Vector3 center;
void Start()
{
center = new Vector3(0;0;0)
}
void Update()
{
Transform.RotateAround(center,Vector3.forward,Time.DeltaTime*5);
}
different lizard tank engine  [author] 3 Jun, 2021 @ 9:21am 
I don't have a script for them to move around the map in circles that travel long distances.
vadiks 2 Jun, 2021 @ 4:32pm 
how exactly
different lizard tank engine  [author] 2 Jun, 2021 @ 3:50pm 
I tried, there's no good script I can find to make them actually move around the map like I want them to.
vadiks 2 Jun, 2021 @ 7:47am 
cant you force these birds to fly