#Custom enemys

1 messages · Page 1 of 1 (latest)

warped ridge
#

How can i make a basic Ai pathing
And then have a projectile launcher or weopons hurt the enemys heath.
I want to make this a RR object or RRS object to be able to animate and kill it

atomic umbra
#

I don’t think you can do that without RRS or Rec room studio

warped ridge
#

I did it

#

now to add movement

#

The enemy has health

tawny wigeon
warped ridge
#

ok ill look it up

tawny wigeon
shrewd marsh
#

Is there pseudo code I can find for breadth?

tawny wigeon
#

Wait a minute, I think I know where to get one

#

BFS(graph, start, goal):
create an empty queue Q
create an empty set visited
enqueue start to Q
mark start as visited
while Q is not empty:
node = dequeue Q
if node is goal:
return "Found goal"
for each neighbor of node in graph:
if neighbor is not visited:
enqueue neighbor to Q
mark neighbor as visited
return "Goal not found"
Use as a base, but not for the entire algorithm, pseudocodes are not that descriptive, so it can be a little difficult to implement, try searching with explanatory videos demonstrating the algorithm