Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
curvedflats
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Flatland
curvedflats
Commits
833ef0ae
Commit
833ef0ae
authored
5 years ago
by
16이진형
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flatland 이동 보정 제거
parent
96abdbcc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
FlatlandMovement.cs
Assets/Scripts/FlatlandMovement.cs
+4
-4
No files found.
Assets/Scripts/FlatlandMovement.cs
View file @
833ef0ae
...
@@ -54,11 +54,11 @@ public class FlatlandMovement : MonoBehaviour
...
@@ -54,11 +54,11 @@ public class FlatlandMovement : MonoBehaviour
//넘어간만큼 보정.
//넘어간만큼 보정.
//TODO : 좀더 엄밀하게 수정 필요.
//TODO : 좀더 엄밀하게 수정 필요.
Vector3
nowpos
=
transform
.
position
;
//
Vector3 nowpos = transform.position;
nowpos
.
x
=
nowDest
.
x
;
//
nowpos.x = nowDest.x;
nowpos
.
z
=
nowDest
.
z
;
//
nowpos.z = nowDest.z;
transform
.
position
=
nowpos
;
//
transform.position = nowpos;
if
(
dests
.
Count
>=
1
)
if
(
dests
.
Count
>=
1
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment