#i cant figure out why my Enemy model is touchable in my td game

1 messages · Page 1 of 1 (latest)

lean obsidian
#

i dont want to be able to walk into it but i want the towers to be able to shoot it and it take dmg and die

old shale
#

I think u can use humanoidrootpart but I'm not rlly sure

lean obsidian
#

how do other tower defense games do it?

true abyss
#

they dont use gpt

old shale
#

There is a tut on YouTube that is like 3 years ago

#

It has like more than 10 episodes I think

#

U can check it out

old shale
robust obsidian
lean obsidian
lean obsidian
robust obsidian
lean obsidian
#

ya i dont have a system made or anything im new to this and new to scripting and idk if this is a studio bug but for some reason some times when i hit play and try to walk something stops me for a sec\

#

this is what i got so far

#

the pathfinding works

robust obsidian
lean obsidian
#

what you mean for me the player?

robust obsidian
lean obsidian
#

just this guy for testing idk how to do the thing with making them spawn in like that im still learning

robust obsidian
lean obsidian
#

ya and i can move it off the course which i dont want

#

should this be called Enemy or is this right?

robust obsidian
lean obsidian
#

it does and it still dont work

tidal steepleBOT
#

studio** You are now Level 7! **studio

lean obsidian
#

it is not my model too idk if that matters

#

just using for testing

robust obsidian
lean obsidian
#

i had all these on too btw im trying stuff out

robust obsidian
lean obsidian
#

oh wheres that at? that might be the issue

robust obsidian
lean obsidian
#

is this the primary part?

#

or do i have to add it?

robust obsidian
# lean obsidian or do i have to add it?

It happens when the player joins.

I think I made a little mistake, so let me clarify:
the Players service has a PlayerAdded event that fires whenever a player joins. Each player has a CharacterAdded event that fires whenever a player's character is spawned in.

If you were to connect to new player's CharacterAdded event, you could set their PrimaryPart's CollisionGroup

The player's characters need to spawn in, so you can't do it in Studio. You'd have to make a server script for this.

lean obsidian
#

fudge ok ty for letting me know

true abyss
#

oh noes