even when I go into the scene when the game is playing it won’t physically move at all. there’s nothing in the code that would instruct it to do this. just seems like yet another bug in unity. what should i do?
open a crystal ball stall?
i can guarantee i’ve had a lot more success than you in app developing. no need to troll and be moronic
Woah…No way to get help talking like that…
Display some code, bro. As someone who’s been using Unity for over 5 years, I promise you this is a user error. As in you…the user…who most likely isn’t sure of what they’re doing.
So let’s start over Welcome to the help thread. Paste some code so that we can see if you have made a mistake and also it would help to paste a photo of your inspector for the specific gameObject.
Gonna bring some friends in on this one.
-
Usually titles of threads are just a title, we don’t usually put the question in the title, and then just say “see the title” or worse, continue typing from there as if the 2 sentences connect. It makes reading your question very cumbersome to do… and personally I’ll just pass on by (heck, I’m only stopping in because SubZeroGaming nudged me).
-
after gameobject is transformed it won’t move?
Gameobjects don’t move unless they’re told to. Do you have components/scripts attached to the gameobject to make it move? Is there a Rigidbody on it? Is the Rigidbody kinematic or not if it a Rigidbody? Is there some other script that moves it, and is that script enabled?
You have given us no information to work with here.
-
What makes you think it’s a bug with Unity? Is it reproduceable?
Woah now, your OP fails to ask a coherent question… LeftyRighty was merely making light of that fact.
One could think you were trolling with your original question, since your question amounts to “my stuff doesn’t work the way I expect it to, there’s nothing wrong with my stuff, Unity must be junk”.
But alas you presume you have more experience than a random person on the forum. How do you know? Some of us here have years of experience in the field, and even years of experience with Unity. LeftyRighty has been on these forums for almost 4 years… you only 6 months. I’m willing to bet LeftyRighty knows a bit more about Unity (maybe not app development in general, but unity), than you do.
yes it works on the character select screen, moves fine and everything. as soon as it’s transported to the starting point absolutely completely freezes. debugged every single thing in the code and still doesn’t work
You still don’t actually describe your problem in any adequate fashion.
What is “it”.
We’re not mind readers, we can’t see what’s on your screen, we don’t know your project intimately like you do.
So show us the offending code! Or move along.
the potential code that could be causing it is over 30 pages long
“it” is the game character. as soon as it is transported to a different point using gameObject.transform.position, the game character is completely immovable in any way. even when I assign it as a child of an object, it’s still completely immovable. the attitude of this place is elitist and asinine
Wow…
Simple question, is your character stuck in the floor potentially?
Don’t judge the forum based on one asshole who got first post and clearly had nothing to contribute. If you’ve been working on a big scene have you checked all the usual stuff like maybe colliders you haven’t deleted and so on? Because that’s happened to me before.
This is what’s likely to be the problem and it happens a lot when you’re working on a lot of stuff, it likely isn’t the game engine if there are no errors.
You get what you give…
So, with that, I’ll leave it to someone else to attempt to see through your posts.
how are you trying to move it?
physics or direct position update? if it’s physics do you manipulate the rigidbody’s constraints at any point? if it’s direct position update are you setting it somewhere else which is overriding it?
is the character selection screen a different scene? how are you “transporting” “it”? if it’s a different scene is there a potential for something to now have been instantiated somewhere? are you using a “dontdestroyonload” and depending on a start/awake to make references which won’t have persisted.
more specific detail and you’ll get higher quality answers. Using fuzzy terms to describe what we can’t see and we’re not going to be able to help much.
i just wrote a new public gameobject and assigned the gameobject i wanted to move to it and now it works. must have been a value somewhere that was interfering with in some way. probably missed it somehow, debugging a 30+ page script can be somewhat annoying and hard to do lol especially with so many variables/values being changed from other scripts too as I’m sure you guys know. i got it figured out now, thanks for your help. sorry if i was a bit short, just the situation
does that mean I need to look somewhere else for my crystal ball now? :p;)
hahaha! I couldn’t resist tagging Lord in here.
OP, Post some code related to the problem and we’ll help you out. Take this as a lesson learned. Don’t offend members of the community. You will be shit on every time.
not really, we’ve all been at the point where we’re screaming at the monitor “it’s all correct, I’ve checked every *%$£^& line, just work you damn piece of …” and sometimes it spills over… and then someone tries to be funny on the internet…
While frustration can certainly get the best of anyone; this appears to be a trend