Can I use these to trap raptors or carnos?

Recipe
Loading recipe…
To make Wooden Doorframe, combine Wood, Thatch, and Fiber for 3 seconds.
Spawn Command
to the guy asking if raptors and carno can be traped by dis, yes ypu can but build a preety big one or else the raptor or carno will just run over the trap bcz the ramp